Преглед на файлове

Merge pull request #20406 from aaronlehmann/integration-test-format-string

Fix format string in TestExecApiCreateContainerPaused
Alexander Morozov преди 9 години
родител
ревизия
0cc9720c2a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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(err, checker.IsNil)
 	c.Assert(status, checker.Equals, http.StatusConflict)
 	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)
 	c.Assert(string(body), checker.Contains, "Container "+name+" is paused, unpause the container before exec", comment)
 }
 }