Browse code

update docker_cli_login_test.go part of #16756

Signed-off-by: Xiaoxu Chen <chenxiaoxu14@otcaix.iscas.ac.cn>

Xiaoxu Chen authored on 2015/10/09 16:08:01
Showing 1 changed files
... ...
@@ -16,6 +16,6 @@ func (s *DockerSuite) TestLoginWithoutTTY(c *check.C) {
16 16
 
17 17
 	// run the command and block until it's done
18 18
 	err := cmd.Run()
19
-	c.Assert(err, checker.NotNil, check.Commentf("Expected non nil err when loginning in & TTY not available"))
19
+	c.Assert(err, checker.NotNil) //"Expected non nil err when loginning in & TTY not available"
20 20
 
21 21
 }