Skip to content

Commit 313d885

Browse files
author
José Valim
committed
Properly invoke mix on tests
1 parent b9cea61 commit 313d885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/test/mix/cli_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule Mix.CLITest do
55

66
test "env" do
77
in_fixture "custom_mixfile", fn ->
8-
env = System.cmd %b(MIX_ENV=prod #{mix_executable} run "IO.puts Mix.env")
8+
env = System.cmd %b(MIX_ENV=prod #{elixir_executable} #{mix_executable} run "IO.puts Mix.env")
99
assert env =~ %r"prod"
1010
end
1111
end

0 commit comments

Comments
 (0)