Commit e3ec7394 authored by Makpoc's avatar Makpoc

fix go vet error

parent ddd69d19
...@@ -168,7 +168,7 @@ func beforeServeHttpTest(t *testing.T) { ...@@ -168,7 +168,7 @@ func beforeServeHttpTest(t *testing.T) {
// and fill them with content // and fill them with content
_, err = f.WriteString(fileContent) _, err = f.WriteString(fileContent)
if err != nil { if err != nil {
t.Fatal("Failed to write to %s. Error was: %v", absFile, err) t.Fatalf("Failed to write to %s. Error was: %v", absFile, err)
return return
} }
f.Close() f.Close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment