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

Commit 4dc3e19

Browse files
authored
Merge pull request #2179 from nicksieger/fix-windows-missing-existing-cli
Fix Windows e2e-local test
2 parents bf1fd67 + a451eba commit 4dc3e19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

local/e2e/cli-only/e2e_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import (
3030
"gotest.tools/v3/golden"
3131
"gotest.tools/v3/icmd"
3232

33+
"github.com/docker/compose-cli/cli/mobycli"
3334
. "github.com/docker/compose-cli/utils/e2e"
3435
)
3536

@@ -354,7 +355,7 @@ func TestMissingExistingCLI(t *testing.T) {
354355
res := icmd.RunCmd(c)
355356
res.Assert(t, icmd.Expected{
356357
ExitCode: 1,
357-
Err: `"com.docker.cli": executable file not found`,
358+
Err: fmt.Sprintf(`"%s": executable file not found`, mobycli.ComDockerCli),
358359
})
359360
}
360361

0 commit comments

Comments
 (0)