   end
 
   defp wont_print_sample do
-    Mix.Project.push nil
-    Mix.Project.push MixTest.Case.Sample
+    Mix.Project.push(nil)
+    Mix.Project.push(MixTest.Case.Sample)
   end
 end

  import Mix.Shell.Quiet

  test "prints nothing to stdio when info is invoked" do
    assert capture_io(fn ->
      info "hello"
    end) == ""
  end

  test "prints error message to stderr" do
    assert capture_io(:stderr, fn ->
      error "hello"
    end) =~ "hello"
  end

  test "asks the user with yes?" do

Code.require_file("../../test_helper.exs", __DIR__)

defmodule Mix.Shell.QuietTest do
  use MixTest.Case
