diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-05-22 14:16:36 -0400 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-05-22 16:34:04 -0400 |
| commit | 6d81ae3f013c83bf05371c923898ec4f777cfdba (patch) | |
| tree | 47d063a05e5e1d12fd0a1867b01a30b58f43f2bb /test/ruby | |
| parent | e575954887a8e8ae26a4122c33c66b8cb82dfa36 (diff) | |
[PRISM] Properly support 'it'
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_syntax.rb | 2 |
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 |
