mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-23 15:31:40 -04:00
fix go vet error
This commit is contained in:
parent
ddd69d19c0
commit
e3ec7394ab
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user