Explorar o código

integration-cli: docker_cli_pull_local_test.go: remove not needed Commentf(s)

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Antonio Murdaca %!s(int64=9) %!d(string=hai) anos
pai
achega
4c3c3fedf8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      integration-cli/docker_cli_pull_local_test.go

+ 2 - 2
integration-cli/docker_cli_pull_local_test.go

@@ -85,7 +85,7 @@ func (s *DockerRegistrySuite) TestConcurrentPullWholeRepo(c *check.C) {
 	for _, repo := range repos {
 		dockerCmd(c, "inspect", repo)
 		out, _ := dockerCmd(c, "run", "--rm", repo)
-		c.Assert(strings.TrimSpace(out), checker.Equals, "/bin/sh -c echo "+repo, check.Commentf("CMD did not contain /bin/sh -c echo %s: %s", repo, out))
+		c.Assert(strings.TrimSpace(out), checker.Equals, "/bin/sh -c echo "+repo)
 	}
 }
 
@@ -157,7 +157,7 @@ func (s *DockerRegistrySuite) TestConcurrentPullMultipleTags(c *check.C) {
 	for _, repo := range repos {
 		dockerCmd(c, "inspect", repo)
 		out, _ := dockerCmd(c, "run", "--rm", repo)
-		c.Assert(strings.TrimSpace(out), checker.Equals, "/bin/sh -c echo "+repo, check.Commentf("CMD did not contain /bin/sh -c echo %s; %s", repo, out))
+		c.Assert(strings.TrimSpace(out), checker.Equals, "/bin/sh -c echo "+repo)
 	}
 }