summaryrefslogtreecommitdiff
path: root/test/yarp/errors_test.rb
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-07-12 12:46:38 -0400
committerGitHub <noreply@github.com>2023-07-12 12:46:38 -0400
commita02f5eb56a53e6799e73cfbb96fc8ccd68fa5651 (patch)
tree9a00f3fa5062af0bf60f7b3291b3a99a1832da01 /test/yarp/errors_test.rb
parent47cb789332e80d51699ab95ef610a69f5556d44d (diff)
YARP resync (#8059)
Notes
Notes: Merged-By: jemmaissroff
Diffstat (limited to 'test/yarp/errors_test.rb')
-rw-r--r--test/yarp/errors_test.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/yarp/errors_test.rb b/test/yarp/errors_test.rb
index 4e5f8cb936..03c0c7ce64 100644
--- a/test/yarp/errors_test.rb
+++ b/test/yarp/errors_test.rb
@@ -426,9 +426,14 @@ class ErrorsTest < Test::Unit::TestCase
expected = DefNode(
Location(),
nil,
- ParametersNode([], [], [], nil, [], nil, nil),
- nil,
- [],
+ ParametersNode([
+ RequiredParameterNode(:A),
+ RequiredParameterNode(:@a),
+ RequiredParameterNode(:$A),
+ RequiredParameterNode(:@@a),
+ ], [], [], nil, [], nil, nil),
+ nil,
+ [:A, :@a, :$A, :@@a],
Location(),
nil,
Location(),