Code clean up
This commit is contained in:
@@ -84,7 +84,7 @@ func TestStringFile(t *testing.T) {
|
||||
|
||||
ss = String("file://" + filePath + ".notexist")
|
||||
|
||||
result, err = ss.Parse()
|
||||
_, err = ss.Parse()
|
||||
|
||||
if err == nil {
|
||||
t.Error("Parsing an non-existing file should result an error")
|
||||
|
||||
Reference in New Issue
Block a user