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:
parent
5e0d33a856
commit
22845176d7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue