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

Fix logout test on Windows
This commit is contained in:
Chris Crone 2020-07-17 17:08:26 +02:00 committed by GitHub
commit df9f93cf18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func (s *E2eSuite) TestClassicLogin() {
Expect(output).To(ContainSubstring("Cannot perform an interactive login from a non TTY device"))
Expect(err).NotTo(BeNil())
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())
}