There was an error while loading. Please reload this page.
1 parent bd1da81 commit 92e4e0aCopy full SHA for 92e4e0a
cmd/root_test.go
@@ -84,7 +84,7 @@ func TestCacheDir(t *testing.T) {
84
// call getCacheDir and make sure return is equal to expected
85
actualDir, err := getCacheDir(tt.imageName)
86
if err != nil {
87
-t.Errorf("%s\nerror getting cache dir", tt.name)
+t.Errorf("Error getting cache dir %s: %s", tt.name, err.Error())
88
}
89
90
if path.Dir(actualDir) != tt.expectedDir {
0 commit comments