Commit 674f454e authored by Matthew Holt's avatar Matthew Holt

t.Fatal -> t.Fatalf

parent a8818388
...@@ -340,7 +340,7 @@ func TestParseAll(t *testing.T) { ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment