Fatal -> Fatalf since we have a format string

This commit is contained in:
Chris Bednarski 2015-10-12 19:14:01 -07:00
parent 7acdc1b6af
commit 95797d7a8a

View File

@ -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)
}
}