cmd: Use Fatalf instead of Fatal

This commit is contained in:
Albert Nigmatzianov 2017-05-05 10:09:59 +02:00
parent 76a9a66775
commit efbe9b05d8
1 changed files with 1 additions and 1 deletions

View File

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