Blob Blame History Raw
From 85db5be3589433ff7af865defbad96eff73b3235 Mon Sep 17 00:00:00 2001
From: John Hawthorn <john@hawthorn.email>
Date: Thu, 18 Aug 2022 09:47:50 -0700
Subject: [PATCH] Fix "unmarshalable" test for minitest 5.16.3

---
 railties/test/application/test_runner_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/railties/test/application/test_runner_test.rb b/railties/test/application/test_runner_test.rb
index 77d1a134b5fd..179ad3876af6 100644
--- a/railties/test/application/test_runner_test.rb
+++ b/railties/test/application/test_runner_test.rb
@@ -649,7 +649,7 @@ def test_run_in_parallel_with_threads
       assert_no_match "create_table(:users)", output
     end
 
-    def test_run_in_parallel_with_unmarshable_exception
+    def test_run_in_parallel_with_unmarshalable_exception
       exercise_parallelization_regardless_of_machine_core_count(with: :processes)
 
       file = app_file "test/fail_test.rb", <<-RUBY
@@ -671,7 +671,7 @@ def initialize
 
       output = run_test_command(file)
 
-      assert_match(/RuntimeError: (Wrapped undumpable exception|result not reported)/, output)
+      assert_match(/RuntimeError: (Wrapped undumpable exception|result not reported|Neutered Exception)/, output)
       assert_match "1 runs, 0 assertions, 0 failures, 1 errors", output
     end