Skip to content

Commit

Permalink
tests: try to make windows assertion pass again
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig committed Aug 25, 2024
1 parent 9d2e0d2 commit 435c581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func TestExecCmd_Execute_badCommand(t *testing.T) {

switch runtime.GOOS {
case "windows":
must.Eq(t, "envy: failed to exec: exec: \"/does/not/exist\": file does not exist\n", b.String()) // nolint: dupword
must.StrContains(t, b.String(), "envy: failed to exec: exec:") // nolint: dupword
default:
must.Eq(t, "envy: failed to exec: fork/exec /does/not/exist: no such file or directory\n", b.String())
}
Expand Down

0 comments on commit 435c581

Please sign in to comment.