Fix "unmarshalable" test for minitest 5.16.3

This commit is contained in:
John Hawthorn 2022-08-18 09:47:50 -07:00
parent c13856e477
commit 85db5be358
2 changed files with 3 additions and 3 deletions

View File

@ -319,7 +319,7 @@ GEM
mini_magick (4.11.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.1)
minitest (5.16.3)
minitest-bisect (1.5.1)
minitest-server (~> 1.0)
path_expander (~> 1.1)

View File

@ -740,7 +740,7 @@ module ApplicationTests
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
@ -762,7 +762,7 @@ module ApplicationTests
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