mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-01 00:23:48 +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
|
||||
_, err = f.WriteString(fileContent)
|
||||
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
|
||||
}
|
||||
f.Close()
|
||||
|
|
Loading…
Reference in a new issue