Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #481 from ulyssessouza/fix-golang114-e2e-local-tests
Browse files Browse the repository at this point in the history
Fix e2e-local tests when compiled with go1.14
  • Loading branch information
chris-crone authored Aug 14, 2020
2 parents af36429 + 2f16ca1 commit d902c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func TestLoginCommandDelegation(t *testing.T) {
res := c.RunDockerCmd("login", "-u", "nouser", "-p", "wrongpasword")
res.Assert(t, icmd.Expected{
ExitCode: 1,
Err: "Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password",
Err: "unauthorized: incorrect username or password",
})
})

Expand All @@ -225,7 +225,7 @@ func TestLoginCommandDelegation(t *testing.T) {
res := c.RunDockerCmd("login", "-u", "nouser", "-p", "wrongpasword")
res.Assert(t, icmd.Expected{
ExitCode: 1,
Err: "Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password",
Err: "unauthorized: incorrect username or password",
})
})
}
Expand Down

0 comments on commit d902c96

Please sign in to comment.