Skip to content

Commit

Permalink
unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <[email protected]>
  • Loading branch information
wangxiaoxuan273 committed Jan 18, 2024
1 parent af38ba0 commit 4c5c8ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/oci/oci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2948,6 +2948,9 @@ func TestStore_GC(t *testing.T) {
}
}

// tag manifest blob 3
s.Tag(ctx, descs[3], "blob 3 is tagged")

// perform GC
if err = s.GC(ctx); err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 4c5c8ad

Please sign in to comment.