From 524d99daaf14269e7bd1611051fffb35898e3fce Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 17 Aug 2023 21:10:36 -0400 Subject: [PATCH] [ruby/yarp] Update to latest unparser https://github.com/ruby/yarp/commit/5ba7394261 --- .../fixtures/unparser/corpus/literal/send.txt | 1 + .../unparser/corpus/literal/send.txt | 27 +++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/test/yarp/fixtures/unparser/corpus/literal/send.txt b/test/yarp/fixtures/unparser/corpus/literal/send.txt index 4361cf73cb..1e9c2a94be 100644 --- a/test/yarp/fixtures/unparser/corpus/literal/send.txt +++ b/test/yarp/fixtures/unparser/corpus/literal/send.txt @@ -81,3 +81,4 @@ self.foo=:bar x(**foo) foo&.! foo.~(b) +a&.+(b) diff --git a/test/yarp/snapshots/unparser/corpus/literal/send.txt b/test/yarp/snapshots/unparser/corpus/literal/send.txt index 89ac183363..a3f5e988db 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/send.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/send.txt @@ -1,6 +1,6 @@ -ProgramNode(0...991)( +ProgramNode(0...999)( [], - StatementsNode(0...991)( + StatementsNode(0...999)( [ModuleNode(0...35)( [:foo, :a, :_], (0...6), @@ -2025,6 +2025,29 @@ ProgramNode(0...991)( nil, 0, "~" + ), + CallNode(992...999)( + CallNode(992...993)(nil, nil, (992...993), nil, nil, nil, nil, 2, "a"), + (993...995), + (995...996), + (996...997), + ArgumentsNode(997...998)( + [CallNode(997...998)( + nil, + nil, + (997...998), + nil, + nil, + nil, + nil, + 2, + "b" + )] + ), + (998...999), + nil, + 1, + "+" )] ) )