diff --git a/cmd/registry/pull/pull_test.go b/cmd/registry/pull/pull_test.go index ad29fd018..3ab304908 100644 --- a/cmd/registry/pull/pull_test.go +++ b/cmd/registry/pull/pull_test.go @@ -297,7 +297,7 @@ var registryPullTests = Describe("pull", func() { args = []string{registryCmd, pullCmd, newReg, "--plain-http", "--config", configFile} }) pullAssertFailedBehavior(registryPullUsage, fmt.Sprintf("ERROR unable to create new repository with ref %s: "+ - "invalid reference: invalid digest; invalid checksum digest format\n", newReg)) + "invalid reference: invalid digest \"something\"; invalid checksum digest format\n", newReg)) }) When("invalid platform", func() { diff --git a/cmd/registry/push/push_test.go b/cmd/registry/push/push_test.go index 3a730ed3a..278822c3f 100644 --- a/cmd/registry/push/push_test.go +++ b/cmd/registry/push/push_test.go @@ -220,7 +220,7 @@ var registryPushTests = Describe("push", func() { args = []string{registryCmd, pushCmd, newReg, rulesfiletgz, "--config", configFile, "--type", "rulesfile", "--version", "1.1.1", "--plain-http"} }) pushAssertFailedBehavior(registryPushUsage, fmt.Sprintf("ERROR unable to create new repository with ref %s: "+ - "invalid reference: invalid digest; invalid checksum digest format\n", newReg)) + "invalid reference: invalid digest \"something\"; invalid checksum digest format\n", newReg)) }) When("invalid requirement", func() {