diff --git a/test/core_ext/test_name_error_extension.rb b/test/core_ext/test_name_error_extension.rb index c58b784..116c7cd 100644 --- a/test/core_ext/test_name_error_extension.rb +++ b/test/core_ext/test_name_error_extension.rb @@ -49,7 +49,7 @@ def test_correctable_error_objects_are_dumpable get_message(error) - assert_match(/^undefined method `sizee' for /, + assert_match(/^undefined method [`']sizee' for /, Marshal.load(Marshal.dump(error)).original_message) end end