Sfoglia il codice sorgente

Fix format string in TestExecApiCreateContainerPaused

It was s% instead of %s.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Aaron Lehmann 9 anni fa
parent
commit
2210b15e08
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      integration-cli/docker_api_exec_test.go

+ 1 - 1
integration-cli/docker_api_exec_test.go

@@ -58,7 +58,7 @@ func (s *DockerSuite) TestExecApiCreateContainerPaused(c *check.C) {
 	c.Assert(err, checker.IsNil)
 	c.Assert(status, checker.Equals, http.StatusConflict)
 
-	comment := check.Commentf("Expected message when creating exec command with Container s% is paused", name)
+	comment := check.Commentf("Expected message when creating exec command with Container %s is paused", name)
 	c.Assert(string(body), checker.Contains, "Container "+name+" is paused, unpause the container before exec", comment)
 }