summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoreileencodes <[email protected]>2024-01-17 16:31:04 -0500
committerKevin Newton <[email protected]>2024-01-17 17:20:25 -0500
commita25c6fd9a00b29fabca5f9013e47574eedc1e5b1 (patch)
treee8a82b6e81ab2cefa47043e287b56de48dcf8379 /test
parent9f0d38960f8b3a5e8544105fdbeda79cbd7ecd4c (diff)
[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.
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_compile_prism.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb
index f46c491598..7326035c02 100644
--- a/test/ruby/test_compile_prism.rb
+++ b/test/ruby/test_compile_prism.rb
@@ -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")