Skip to content

Commit

Permalink
Update content/oci/oci_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lixia (Sylvia) Lei <[email protected]>
Signed-off-by: Xiaoxuan Wang <[email protected]>
  • Loading branch information
wangxiaoxuan273 and Wwwsylvia authored Nov 20, 2023
1 parent dd0b9a8 commit 1d1628b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions content/oci/oci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2064,8 +2064,7 @@ func TestStore_FetchAndDelete(t *testing.T) {
t.Fatal("error =", err)
}
if !bytes.Equal(got, content) {
fmt.Println(got)
t.Fatal("wrong content")
t.Errorf("Store.Fetch() = %v, want %v", string(got), string(content))
}
rc.Close()

Expand Down

0 comments on commit 1d1628b

Please sign in to comment.