From 2210b15e08b8a81bb7c22b34036a5d0336fa04ef Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Wed, 17 Feb 2016 11:05:51 -0800 Subject: [PATCH] Fix format string in TestExecApiCreateContainerPaused It was s% instead of %s. Signed-off-by: Aaron Lehmann --- integration-cli/docker_api_exec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_api_exec_test.go b/integration-cli/docker_api_exec_test.go index d3d8afd19a..51533223c7 100644 --- a/integration-cli/docker_api_exec_test.go +++ b/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) }