[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:
eileencodes 2024-01-17 16:31:04 -05:00 committed by Kevin Newton
parent 9f0d38960f
commit a25c6fd9a0

View File

@ -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")