 
   test "help --search PATTERN", context do
     in_tmp context.test, fn ->
-      Mix.Tasks.Help.run ["--search", "deps"]
+      Mix.Tasks.Help.run(["--search", "deps"])
       assert_received {:mix_shell, :info, ["mix deps" <> _]}
       assert_received {:mix_shell, :info, ["mix deps.clean" <> _]}
     end


  test "help list default task", context do
    in_tmp context.test, fn ->
      Mix.Tasks.Help.run []

      {_, _, [output]} =
        assert_received {:mix_shell, :info, [_]}
      assert output =~ ~r/^mix\s+# Runs the default task \(current: \"mix run\"\)/m
    end
  end

    in_tmp context.test, fn ->
      output =
        capture_io(fn ->
          Mix.Tasks.Help.run(["compile"])
        end)

      assert output =~ "# mix compile\n"
