cmd: Use Fatalf instead of Fatal
This commit is contained in:
		| @ -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) | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user