summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2015-05-25 08:27:54 -0600
committerMatthew Holt <[email protected]>2015-05-25 08:27:54 -0600
commit674f454e702ce8beb4b96d0a7191e30f0fb3abba (patch)
tree6d7c87b71c57f9eab17ae6d8f7905c6a282b2bc9
parenta881838836ef8ebb9e16f6567a8fc94812b6d653 (diff)
downloadcaddy-674f454e702ce8beb4b96d0a7191e30f0fb3abba.tar.gz
caddy-674f454e702ce8beb4b96d0a7191e30f0fb3abba.zip
t.Fatal -> t.Fatalf
-rw-r--r--config/parse/parsing_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/parse/parsing_test.go b/config/parse/parsing_test.go
index 8b19d6b2e..de793de3b 100644
--- a/config/parse/parsing_test.go
+++ b/config/parse/parsing_test.go
@@ -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) {