From 6d81ae3f013c83bf05371c923898ec4f777cfdba Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 22 May 2024 14:16:36 -0400 Subject: [PRISM] Properly support 'it' --- test/ruby/test_syntax.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') 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 -- cgit v1.2.3