summaryrefslogtreecommitdiff
path: root/spec/ruby/core/basicobject/basicobject_spec.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-05-07 18:44:42 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-07 18:22:42 +0900
commit54ee22be5308ee958a73bd546bc867d2337d74d8 (patch)
treea997275521132947b68f9160fdfe37887fe9f99f /spec/ruby/core/basicobject/basicobject_spec.rb
parentb23fba91ae60c71649cb5e5f8b63c87e6a63020f (diff)
[ruby/ipaddr] Avoid reraising exceptions
Instead of raising a new exception with a modified message, just use the correct message to begin with. This avoids the issue with both exceptions being displayed at error exit. https://github.com/ruby/ipaddr/commit/09edfd4a7f
Diffstat (limited to 'spec/ruby/core/basicobject/basicobject_spec.rb')
0 files changed, 0 insertions, 0 deletions