mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
cmd: Use Fatalf instead of Fatal
This commit is contained in:
parent
76a9a66775
commit
efbe9b05d8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue