mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-08 06:55:31 -04:00
t.Fatal -> t.Fatalf
This commit is contained in:
@@ -340,7 +340,7 @@ func TestParseAll(t *testing.T) {
|
||||
}`)
|
||||
blocks, err := p.parseAll()
|
||||
if err != nil {
|
||||
t.Fatal("Expected there to not be an error, but there was: %v", err)
|
||||
t.Fatalf("Expected there to not be an error, but there was: %v", err)
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(blocks[1].Tokens, blocks[2].Tokens) {
|
||||
|
||||
Reference in New Issue
Block a user