From 853756c8aeab10e744cf8265821624914be91ad6 Mon Sep 17 00:00:00 2001 From: Xiaoxuan Wang Date: Thu, 28 Mar 2024 06:01:58 +0000 Subject: [PATCH] fix e2e Signed-off-by: Xiaoxuan Wang --- test/e2e/suite/command/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]"))) })