diff --git a/main_test.go b/main_test.go index 2b6686b38..0bc7ba96f 100644 --- a/main_test.go +++ b/main_test.go @@ -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) } }