From 95797d7a8ab9c00ec39fc3a3eaf9f9e8052c586e Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 12 Oct 2015 19:14:01 -0700 Subject: [PATCH] Fatal -> Fatalf since we have a format string --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }