     ExUnit.Server.modules_loaded()
 
     assert capture_io(fn ->
-      assert ExUnit.run == %{failures: 2, skipped: 0, total: 2}
-    end) =~ "2 tests, 2 failures"
+             assert ExUnit.run() == %{failures: 2, skipped: 0, total: 2}
+           end) =~ "2 tests, 2 failures"
   end
 
   test "doesn't hang on exits" do


    ExUnit.Server.modules_loaded()

    output = capture_io(fn ->
      assert ExUnit.run == %{failures: 1, skipped: 0, total: 1}
    end)

    assert output =~ "trying to set reserved field :async"
  end

  defp run_with_filter(filters, cases) do
    Enum.each(cases, &ExUnit.Server.add_sync_module/1)
    ExUnit.Server.modules_loaded()
    opts = Keyword.merge(ExUnit.configuration(), filters)
    output = capture_io(fn -> Process.put(:capture_result, ExUnit.Runner.run(opts, nil)) end)
    {Process.get(:capture_result), output}
  end
end
