Skip to content

Commit

Permalink
Merge pull request #192 from ruby/feature-16495
Browse files Browse the repository at this point in the history
[Feature #16495] Do not include a backtick in error messages and backtraces
  • Loading branch information
hsbt authored Feb 16, 2024
2 parents b5f83b2 + d499809 commit 97f1578
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 97f1578

Please sign in to comment.