Skip to content

Commit

Permalink
Do not include a backtick in error messages and backtraces
Browse files Browse the repository at this point in the history
[Feature #16495]
  • Loading branch information
mame authored and hsbt committed Feb 16, 2024
1 parent b5f83b2 commit d499809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core_ext/test_name_error_extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d499809

Please sign in to comment.