 
   test "new --sup with tests" do
     in_tmp "sup_with_tests", fn ->
-      output = mix ~w[new --sup .]
+      output = mix(~w[new --sup .])
       assert output =~ "* creating lib/sup_with_tests.ex"
 
-      output = mix ~w[test]
+      output = mix(~w[test])
       assert File.regular?("_build/test/lib/sup_with_tests/ebin/Elixir.SupWithTests.beam")
       assert output =~ "1 doctest, 1 test, 0 failures"
     end

          Mix.raise("oops")
        end
      end
      """

      contents = mix ~w[my_hello], [{"MIX_QUIET", "1"}]
      assert contents =~ "Hello from MyProject!\n"
      refute contents =~ "This won't appear"

      contents = mix ~w[my_hello], [{"MIX_QUIET", "0"}]
      assert contents =~ "Hello from MyProject!\n"
      assert contents =~ "This won't appear"

      contents = mix ~w[my_hello], [{"MIX_DEBUG", "1"}]
      assert contents =~ "** Running mix my_hello (inside MyProject)"
      assert contents =~ "** (Mix.Error) oops"

      contents = mix ~w[my_hello], [{"MIX_DEBUG", "0"}]
      refute contents =~ "** Running mix my_hello (inside MyProject)"
      refute contents =~ "** (Mix.Error) oops"
    end

    in_tmp context.test, fn ->
      File.mkdir_p!("lib")

      File.write!("mix.exs", """
      defmodule MyProject do
        use Mix.Project

