mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix format string in TestExecApiCreateContainerPaused
It was s% instead of %s. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
7eed9a642e
commit
2210b15e08
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue