summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-05-22 14:16:36 -0400
committerKevin Newton <kddnewton@gmail.com>2024-05-22 16:34:04 -0400
commit6d81ae3f013c83bf05371c923898ec4f777cfdba (patch)
tree47d063a05e5e1d12fd0a1867b01a30b58f43f2bb /test/ruby
parente575954887a8e8ae26a4122c33c66b8cb82dfa36 (diff)
[PRISM] Properly support 'it'
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 2f311c859e..f4c9f06459 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -1922,7 +1922,7 @@ eom
]
end
assert_valid_syntax('proc {def foo(_);end;it}')
- assert_syntax_error('p { [it **2] }', /unexpected \*\*arg/)
+ assert_syntax_error('p { [it **2] }', /unexpected \*\*/)
end
def test_value_expr_in_condition