summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-06-03 13:47:32 -0400
committergit <svn-admin@ruby-lang.org>2024-06-03 20:57:53 +0000
commit56301ba324e2bb8f1c90cfe8e25db8fcdcab14bd (patch)
tree0f30180947e4ea20a02ed478a4f384cf16d99e96
parent856898e9774a1935b4accf32941ced37274e6aa1 (diff)
[ruby/prism] Update unparser tests
https://github.com/ruby/prism/commit/aee84cf42c
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/yield.txt56
1 files changed, 0 insertions, 56 deletions
diff --git a/test/prism/snapshots/unparser/corpus/literal/yield.txt b/test/prism/snapshots/unparser/corpus/literal/yield.txt
deleted file mode 100644
index 4d2b272e35..0000000000
--- a/test/prism/snapshots/unparser/corpus/literal/yield.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-@ ProgramNode (location: (1,0)-(3,11))
-├── locals: []
-└── statements:
- @ StatementsNode (location: (1,0)-(3,11))
- └── body: (length: 3)
- ├── @ YieldNode (location: (1,0)-(1,5))
- │ ├── keyword_loc: (1,0)-(1,5) = "yield"
- │ ├── lparen_loc: ∅
- │ ├── arguments: ∅
- │ └── rparen_loc: ∅
- ├── @ YieldNode (location: (2,0)-(2,8))
- │ ├── keyword_loc: (2,0)-(2,5) = "yield"
- │ ├── lparen_loc: (2,5)-(2,6) = "("
- │ ├── arguments:
- │ │ @ ArgumentsNode (location: (2,6)-(2,7))
- │ │ ├── flags: ∅
- │ │ └── arguments: (length: 1)
- │ │ └── @ CallNode (location: (2,6)-(2,7))
- │ │ ├── flags: variable_call, ignore_visibility
- │ │ ├── receiver: ∅
- │ │ ├── call_operator_loc: ∅
- │ │ ├── name: :a
- │ │ ├── message_loc: (2,6)-(2,7) = "a"
- │ │ ├── opening_loc: ∅
- │ │ ├── arguments: ∅
- │ │ ├── closing_loc: ∅
- │ │ └── block: ∅
- │ └── rparen_loc: (2,7)-(2,8) = ")"
- └── @ YieldNode (location: (3,0)-(3,11))
- ├── keyword_loc: (3,0)-(3,5) = "yield"
- ├── lparen_loc: (3,5)-(3,6) = "("
- ├── arguments:
- │ @ ArgumentsNode (location: (3,6)-(3,10))
- │ ├── flags: ∅
- │ └── arguments: (length: 2)
- │ ├── @ CallNode (location: (3,6)-(3,7))
- │ │ ├── flags: variable_call, ignore_visibility
- │ │ ├── receiver: ∅
- │ │ ├── call_operator_loc: ∅
- │ │ ├── name: :a
- │ │ ├── message_loc: (3,6)-(3,7) = "a"
- │ │ ├── opening_loc: ∅
- │ │ ├── arguments: ∅
- │ │ ├── closing_loc: ∅
- │ │ └── block: ∅
- │ └── @ CallNode (location: (3,9)-(3,10))
- │ ├── flags: variable_call, ignore_visibility
- │ ├── receiver: ∅
- │ ├── call_operator_loc: ∅
- │ ├── name: :b
- │ ├── message_loc: (3,9)-(3,10) = "b"
- │ ├── opening_loc: ∅
- │ ├── arguments: ∅
- │ ├── closing_loc: ∅
- │ └── block: ∅
- └── rparen_loc: (3,10)-(3,11) = ")"