Fatal -> Fatalf since we have a format string

pull/2854/head
Chris Bednarski 11 years ago
parent 7acdc1b6af
commit 95797d7a8a

@ -29,7 +29,7 @@ func TestExcludeHelpFunc(t *testing.T) {
helpText := helpFunc(commands)
if strings.Contains(helpText, "fix") {
t.Fatal("Found fix in help text even though we excluded it: \n\n%s\n\n", helpText)
t.Fatalf("Found fix in help text even though we excluded it: \n\n%s\n\n", helpText)
}
}

Loading…
Cancel
Save