Skip to content

Commit

Permalink
test alias
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Nov 22, 2023
1 parent 47e827d commit e362ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/suite/command/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var _ = Describe("Common registry user", func() {
gomega.Expect(outString).To(gomega.Equal(multi_arch.Digest))
})
It("should resolve with a fully qualified reference", func() {
out := ORAS("resolve", "-l", RegistryRef(ZOTHost, ImageRepo, multi_arch.Tag)).Exec().Out
out := ORAS("digest", "-l", RegistryRef(ZOTHost, ImageRepo, multi_arch.Tag)).Exec().Out
gomega.Expect(out).To(gbytes.Say(fmt.Sprintf("%s/%s@%s", ZOTHost, ImageRepo, multi_arch.Digest)))
})
It("should resolve with a fully qualified reference for a platform", func() {
Expand All @@ -83,7 +83,7 @@ var _ = Describe("OCI image layout users", func() {
})
It("should resolve with a fully qualified reference", func() {
tmpRoot := PrepareTempOCI(ImageRepo)
out := ORAS("resolve", Flags.Layout, "-l", LayoutRef(tmpRoot, multi_arch.Tag)).Exec().Out
out := ORAS("digest", Flags.Layout, "-l", LayoutRef(tmpRoot, multi_arch.Tag)).Exec().Out
gomega.Expect(out).To(gbytes.Say(fmt.Sprintf("%s@%s", tmpRoot, multi_arch.Digest)))
})
It("should resolve with a fully qualified reference for a platform", func() {
Expand Down

0 comments on commit e362ead

Please sign in to comment.