mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Don't pass check.C to dockerCmdWithError
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
@@ -66,7 +66,7 @@ func (s *DockerSuite) TestHistoryExistentImage(c *check.C) {
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestHistoryNonExistentImage(c *check.C) {
|
||||
_, _, err := dockerCmdWithError(c, "history", "testHistoryNonExistentImage")
|
||||
_, _, err := dockerCmdWithError("history", "testHistoryNonExistentImage")
|
||||
if err == nil {
|
||||
c.Fatal("history on a non-existent image should fail.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user