Skip to content

Commit

Permalink
Update oci reader tests
Browse files Browse the repository at this point in the history
Signed-off-by: Brandyn Bayes <[email protected]>
  • Loading branch information
brbayes-msft committed Jan 23, 2025
1 parent 9ff050e commit 88b8e49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions oci/layout/reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ func TestList(t *testing.T) {
},
{
path: "fixtures/name_lookups",
num: 4,
num: 6,
digests: []string{
"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
"sha256:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
},
names: map[int]string{0: "a", 1: "b", 2: "invalid-mime", 3: "invalid-mime"},
names: map[int]string{0: "a", 1: "b", 2: "c", 3: "d", 4: "e", 5: "invalid-mime"},
},
} {
results, err := List(test.path)
Expand Down

0 comments on commit 88b8e49

Please sign in to comment.