mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
Don't pass check.C to dockerCmdWithError
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ func (s *DockerSuite) TestSaveXzAndLoadRepoStdout(c *check.C) {
|
||||
c.Fatalf("expected error, but succeeded with no error and output: %v", out)
|
||||
}
|
||||
|
||||
after, _, err := dockerCmdWithError(c, "inspect", repoName)
|
||||
after, _, err := dockerCmdWithError("inspect", repoName)
|
||||
if err == nil {
|
||||
c.Fatalf("the repo should not exist: %v", after)
|
||||
}
|
||||
@@ -72,7 +72,7 @@ func (s *DockerSuite) TestSaveXzGzAndLoadRepoStdout(c *check.C) {
|
||||
c.Fatalf("expected error, but succeeded with no error and output: %v", out)
|
||||
}
|
||||
|
||||
after, _, err := dockerCmdWithError(c, "inspect", repoName)
|
||||
after, _, err := dockerCmdWithError("inspect", repoName)
|
||||
if err == nil {
|
||||
c.Fatalf("the repo should not exist: %v", after)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user