cmd: Use Fatalf instead of Fatal

This commit is contained in:
Albert Nigmatzianov 2017-05-05 10:09:59 +02:00
parent b6a3cd9475
commit c59e1a0860

View file

@ -11,7 +11,7 @@ func TestFindExistingPackage(t *testing.T) {
t.Fatal("findPackage didn't find the existing package") t.Fatal("findPackage didn't find the existing package")
} }
if !hasGoPathPrefix(path) { 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)
} }
} }