mirror of https://github.com/docker/compose.git
Update error message for Windows
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
6458b97089
commit
34df3caaaf
|
@ -398,7 +398,7 @@ func TestLegacy(t *testing.T) {
|
|||
t.Run("host flag", func(t *testing.T) {
|
||||
stderr := "dial tcp: lookup nonexistent"
|
||||
if runtime.GOOS == "windows" {
|
||||
stderr = "error during connect: Get http://nonexitent:123"
|
||||
stderr = "dial tcp: lookup nonexistent: no such host"
|
||||
}
|
||||
res := c.RunDockerOrExitError("-H", "tcp://nonexistent:123", "version")
|
||||
res.Assert(t, icmd.Expected{
|
||||
|
|
Loading…
Reference in New Issue