diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-10-17 15:40:57 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-10-18 16:08:31 +0000 |
commit | 5d0604366e695066f32c94ebe3b4b827b2868a34 (patch) | |
tree | 6c91c47755842402acbfbb7e6835a1eea71bed9f /test/prism/errors_test.rb | |
parent | 4358dd207f445259984d5535f1b545c8449fad35 (diff) | |
download | ruby-5d0604366e695066f32c94ebe3b4b827b2868a34.tar.gz |
[ruby/prism] Add * and & to methods with ...
https://github.com/ruby/prism/commit/e8114a786a
Diffstat (limited to 'test/prism/errors_test.rb')
-rw-r--r-- | test/prism/errors_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb index e043c59125..70fd030ad6 100644 --- a/test/prism/errors_test.rb +++ b/test/prism/errors_test.rb @@ -723,7 +723,7 @@ module Prism nil ), nil, - [:"...", :a], + [:*, :&, :"...", :a], Location(), nil, Location(), @@ -800,7 +800,7 @@ module Prism nil, ParametersNode([], [], nil, [], [], ForwardingParameterNode(), nil), nil, - [:"..."], + [:*, :&, :"..."], Location(), nil, Location(), @@ -987,7 +987,7 @@ module Prism def test_do_not_allow_forward_arguments_in_lambda_literals expected = LambdaNode( - [:"..."], + [], Location(), Location(), Location(), @@ -1009,7 +1009,7 @@ module Prism nil, nil, BlockNode( - [:"..."], + [], BlockParametersNode(ParametersNode([], [], nil, [], [], ForwardingParameterNode(), nil), [], Location(), Location()), nil, Location(), |