From efbe9b05d89b33e8296e163fa84ffcf43152f3bf Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Fri, 5 May 2017 10:09:59 +0200 Subject: [PATCH] cmd: Use Fatalf instead of Fatal --- cobra/cmd/project_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra/cmd/project_test.go b/cobra/cmd/project_test.go index 3af44bc..2774094 100644 --- a/cobra/cmd/project_test.go +++ b/cobra/cmd/project_test.go @@ -11,7 +11,7 @@ func TestFindExistingPackage(t *testing.T) { t.Fatal("findPackage didn't find the existing package") } if !hasGoPathPrefix(path) { - t.Fatal("%q is not in GOPATH, but must be", path) + t.Fatalf("%q is not in GOPATH, but must be", path) } }