 
     {result, output} = run_with_filter([only_test_ids: test_ids], [])
     assert result == %{failures: 1, skipped: 0, excluded: 0, total: 1}
-    assert output =~ "1 test, 1 failure"
+    assert output =~ "\n1 test, 1 failure\n"
   end
 
   test "filtering cases with tags" do

      end

      ExUnit.Server.modules_loaded()
      on_exit_reload_config()

      output =
        capture_io(fn ->


    ExUnit.Server.modules_loaded()
    output = capture_io(&ExUnit.run/0)
    assert output =~ "[debug] two\n"
    refute output =~ "[debug] one\n"
    assert output =~ "[debug] three\n"
    refute output =~ "[debug] four\n"
  end

  test "supports multi errors" do
