Forráskód Böngészése

Merge c2885d1d05c504df384231868c5ad965f297e4e7 into 29f24a828b5fb8e3cdd4dc79df99efd67fc3350d

Sebastiaan van Stijn 1 éve
szülő
commit
09d6328643
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      integration-cli/docker_cli_push_test.go

+ 2 - 2
integration-cli/docker_cli_push_test.go

@@ -232,8 +232,8 @@ func (s *DockerCLIPushSuite) TestPushToCentralRegistryUnauthorized(c *testing.T)
 	const imgRepo = "test/busybox"
 	cli.DockerCmd(c, "tag", "busybox", imgRepo)
 	out, _, err := dockerCmdWithError("push", imgRepo)
-	assert.ErrorContains(c, err, "", out)
-	assert.Assert(c, !strings.Contains(out, "Retrying"))
+	assert.Check(c, is.ErrorContains(err, ""), out)
+	assert.Check(c, !strings.Contains(out, "Retrying"), out)
 }
 
 func getTestTokenService(status int, body string, retries int) *httptest.Server {