mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-05 18:44:58 +03:00
fix go vet error
This commit is contained in:
parent
ddd69d19c0
commit
e3ec7394ab
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue