mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-05 18:44:58 +03:00
t.Fatal -> t.Fatalf
This commit is contained in:
parent
a881838836
commit
674f454e70
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ func TestParseAll(t *testing.T) {
|
||||||
}`)
|
}`)
|
||||||
blocks, err := p.parseAll()
|
blocks, err := p.parseAll()
|
||||||
if err != nil {
|
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) {
|
if !reflect.DeepEqual(blocks[1].Tokens, blocks[2].Tokens) {
|
||||||
|
|
Loading…
Reference in a new issue