|
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))
|