From 34df3caaaf2d40e34120cf4921eff6999ea8ef46 Mon Sep 17 00:00:00 2001 From: aiordache Date: Fri, 5 Mar 2021 15:44:01 +0100 Subject: [PATCH] Update error message for Windows Signed-off-by: aiordache --- local/e2e/cli-only/e2e_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{