diff --git a/local/e2e/cli-only/e2e_test.go b/local/e2e/cli-only/e2e_test.go index 3d2b002e9..09aac2031 100644 --- a/local/e2e/cli-only/e2e_test.go +++ b/local/e2e/cli-only/e2e_test.go @@ -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{