Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 92e4e0a

Browse files
committed
missed one error message fix
1 parent bd1da81 commit 92e4e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func TestCacheDir(t *testing.T) {
8484
// call getCacheDir and make sure return is equal to expected
8585
actualDir, err := getCacheDir(tt.imageName)
8686
if err != nil {
87-
t.Errorf("%s\nerror getting cache dir", tt.name)
87+
t.Errorf("Error getting cache dir %s: %s", tt.name, err.Error())
8888
}
8989

9090
if path.Dir(actualDir) != tt.expectedDir {

0 commit comments

Comments
 (0)