Skip to content

Commit

Permalink
fix failed test
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <[email protected]>
  • Loading branch information
Xiaoxuan Wang committed Aug 28, 2024
1 parent 0ff292e commit 9800e18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/suite/command/manifest_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ var _ = Describe("OCI image layout users:", func() {
string(multi_arch.LinuxAMD64.Digest), string(multi_arch.LinuxARM64.Digest)).Exec()
// add a manifest to the index
ORAS("manifest", "index", "update", Flags.Layout, indexRef,
"--merge", "sha256:02c15a8d1735c65bb8ca86c716615d3c0d8beb87dc68ed88bb49192f90b184e2").ExpectFailure().
MatchErrKeyWords("Error", "is not a manifest").Exec()
"--merge", "linux-amd64").ExpectFailure().
MatchErrKeyWords("Error", "is not an index").Exec()
})

It("should fail if a wrong reference is given as the manifest to remove", func() {
Expand Down

0 comments on commit 9800e18

Please sign in to comment.