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

Commit bd1da81

Browse files
committed
golang error messages should not be capitalized
1 parent 230b6b6 commit bd1da81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/root_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ 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("%s\nerror getting cache dir", tt.name)
8888
}
8989

9090
if path.Dir(actualDir) != tt.expectedDir {
91-
t.Errorf("%s\nExpected: %v\nGot: %v", tt.name, tt.expectedDir, actualDir)
91+
t.Errorf("%s\nexpected: %v\ngot: %v", tt.name, tt.expectedDir, actualDir)
9292
}
9393
},
9494
)

0 commit comments

Comments
 (0)