mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Fix TestDiffEmptyArgClientError O:)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@@ -83,5 +83,5 @@ func (s *DockerSuite) TestDiffEnsureDefaultDevs(c *check.C) {
|
||||
func (s *DockerSuite) TestDiffEmptyArgClientError(c *check.C) {
|
||||
out, _, err := dockerCmdWithError("diff", "")
|
||||
c.Assert(err, checker.NotNil)
|
||||
c.Assert(strings.TrimSpace(out), checker.Contains, "\"docker diff\" requires exactly 1 argument(s).")
|
||||
c.Assert(strings.TrimSpace(out), checker.Contains, "Container name cannot be empty")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user