diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2023-08-17 21:10:36 -0400 |
|---|---|---|
| committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-08-21 10:43:11 -0700 |
| commit | 524d99daaf14269e7bd1611051fffb35898e3fce (patch) | |
| tree | 1669d1f88dba740510a725f88cf0c27d2f8b350e | |
| parent | 289c0da5b7de5d976610c210dd5258459f3f0c12 (diff) | |
[ruby/yarp] Update to latest unparser
https://github.com/ruby/yarp/commit/5ba7394261
| -rw-r--r-- | test/yarp/fixtures/unparser/corpus/literal/send.txt | 1 | ||||
| -rw-r--r-- | test/yarp/snapshots/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, + "+" )] ) ) |
