mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
[PRISM] Fix test spelling RescueModifer
-> RescueModifier
`RescueModifier` was spelled wrong. Not a big deal, but it meant I didn't immediately find the test when I was searching for it while working on implementing `defined?` nodes.
This commit is contained in:
parent
9f0d38960f
commit
a25c6fd9a0
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@ module Prism
|
|||
CODE
|
||||
end
|
||||
|
||||
def test_RescueModiferNode
|
||||
def test_RescueModifierNode
|
||||
assert_prism_eval("1.nil? rescue false")
|
||||
assert_prism_eval("1.nil? rescue 1")
|
||||
assert_prism_eval("raise 'bang' rescue nil")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue