Skip to content

Commit bf6e962

Browse files
increase coverage
Signed-off-by: Xiaoxuan Wang <[email protected]>
1 parent 04acfec commit bf6e962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/oci/oci_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3033,7 +3033,7 @@ func TestStore_GCErrorPath(t *testing.T) {
30333033
// test os.Remove() error
30343034
badDigest := digest.FromBytes([]byte("bad digest")).Encoded()
30353035
badPath := path.Join(algPath, "sha256", badDigest)
3036-
if err := os.Mkdir(badPath, 0444); err != nil {
3036+
if err := os.Mkdir(badPath, 0666); err != nil {
30373037
t.Fatal(err)
30383038
}
30393039
if err := os.WriteFile(path.Join(badPath, "whatever"), []byte("extra content"), 0444); err != nil {

0 commit comments

Comments
 (0)