diff --git a/test/e2e/suite/command/push.go b/test/e2e/suite/command/push.go index e09efe5a9..741c70e20 100644 --- a/test/e2e/suite/command/push.go +++ b/test/e2e/suite/command/push.go @@ -51,7 +51,7 @@ var _ = Describe("ORAS beginners:", func() { It("should fail if the provided reference is not valid", func() { err := ORAS("push", "/oras").ExpectFailure().Exec().Err - gomega.Expect(err).Should(gbytes.Say(`Error: invalid reference: invalid registry "": "/oras"`)) + gomega.Expect(err).Should(gbytes.Say(`Error: "/oras": invalid reference: invalid registry ""`)) gomega.Expect(err).Should(gbytes.Say(regexp.QuoteMeta("Please make sure the provided reference is in the form of /[:tag|@digest]"))) })