Skip to content

Commit

Permalink
test/ruby/test_exception typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg authored and nobu committed Oct 22, 2019
1 parent 5e0d33a commit 2284517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_exception.rb
Expand Up @@ -995,7 +995,7 @@ def test_nomethod_error_new_receiver
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)
Expand Down

0 comments on commit 2284517

Please sign in to comment.