mirror of https://github.com/docker/docs.git
fixed spelling error in docker cli run test
Signed-off-by: Nirmal Mehta <nirmalkmehta@gmail.com>
This commit is contained in:
parent
36a9151b27
commit
f91acbaee4
|
|
@ -4342,7 +4342,7 @@ func (s *DockerSuite) TestRunTooLongHostname(c *check.C) {
|
||||||
c.Assert(err, checker.NotNil, check.Commentf("Expected docker run to fail!"))
|
c.Assert(err, checker.NotNil, check.Commentf("Expected docker run to fail!"))
|
||||||
c.Assert(out, checker.Contains, "invalid hostname format:", check.Commentf("Expected to have 'invalid hostname format:' in the output, get: %s!", out))
|
c.Assert(out, checker.Contains, "invalid hostname format:", check.Commentf("Expected to have 'invalid hostname format:' in the output, get: %s!", out))
|
||||||
|
|
||||||
// Addtional test cases
|
// Additional test cases
|
||||||
validHostnames := map[string]string{
|
validHostnames := map[string]string{
|
||||||
"hostname": "hostname",
|
"hostname": "hostname",
|
||||||
"host-name": "host-name",
|
"host-name": "host-name",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue