1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby/test_exception typo fix

This commit is contained in:
MSP-Greg 2019-10-21 16:36:38 -05:00 committed by Nobuyoshi Nakada
parent 5e0d33a856
commit 22845176d7
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -995,7 +995,7 @@ end.join
error = NoMethodError.new("Message", :foo)
assert_raise(ArgumentError) {error.receiver}
msg = defined?(:DidYouMean.formatter) ?
msg = defined?(DidYouMean.formatter) ?
"Message\nDid you mean? for" : "Message"
error = NoMethodError.new("Message", :foo, receiver: receiver)