ソースを参照

Merge pull request #398 from docker/logout-test-win

Fix logout test on Windows
Chris Crone 5 年 前
コミット
df9f93cf18
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tests/e2e/e2e_test.go

+ 1 - 1
tests/e2e/e2e_test.go

@@ -134,7 +134,7 @@ func (s *E2eSuite) TestClassicLogin() {
 	Expect(output).To(ContainSubstring("Cannot perform an interactive login from a non TTY device"))
 	Expect(output).To(ContainSubstring("Cannot perform an interactive login from a non TTY device"))
 	Expect(err).NotTo(BeNil())
 	Expect(err).NotTo(BeNil())
 	output, err = s.NewDockerCommand("logout", "someregistry.docker.io").Exec()
 	output, err = s.NewDockerCommand("logout", "someregistry.docker.io").Exec()
-	Expect(output).To(ContainSubstring("Removing login credentials for someregistry.docker.io"))
+	Expect(output).To(ContainSubstring("someregistry.docker.io"))
 	Expect(err).To(BeNil())
 	Expect(err).To(BeNil())
 }
 }