summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Prokopiev <maxprokopiev@github.com>2024-01-24 21:10:54 +0100
committergit <svn-admin@ruby-lang.org>2024-01-24 20:32:02 +0000
commita65b52b57f0b577a0486d5c05a1b5e6c53e6dc77 (patch)
tree5bc6a3ec5c0d33f44122056071a0c283dab4b940 /test
parente9f936df71b68515210b6040766987d1b94ec4df (diff)
[ruby/prism] Add missing snapshot for the new file
https://github.com/ruby/prism/commit/459a9f544e
Diffstat (limited to 'test')
-rw-r--r--test/prism/snapshots/emoji_method_calls.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/prism/snapshots/emoji_method_calls.txt b/test/prism/snapshots/emoji_method_calls.txt
new file mode 100644
index 0000000000..a38d1431da
--- /dev/null
+++ b/test/prism/snapshots/emoji_method_calls.txt
@@ -0,0 +1,30 @@
+@ ProgramNode (location: (1,0)-(1,12))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,12))
+ └── body: (length: 1)
+ └── @ CallNode (location: (1,0)-(1,12))
+ ├── flags: attribute_write
+ ├── receiver:
+ │ @ CallNode (location: (1,0)-(1,3))
+ │ ├── flags: variable_call, ignore_visibility
+ │ ├── receiver: ∅
+ │ ├── call_operator_loc: ∅
+ │ ├── name: :foo
+ │ ├── message_loc: (1,0)-(1,3) = "foo"
+ │ ├── opening_loc: ∅
+ │ ├── arguments: ∅
+ │ ├── closing_loc: ∅
+ │ └── block: ∅
+ ├── call_operator_loc: (1,3)-(1,4) = "."
+ ├── name: :🌊=
+ ├── message_loc: (1,4)-(1,8) = "🌊"
+ ├── opening_loc: ∅
+ ├── arguments:
+ │ @ ArgumentsNode (location: (1,11)-(1,12))
+ │ ├── flags: ∅
+ │ └── arguments: (length: 1)
+ │ └── @ IntegerNode (location: (1,11)-(1,12))
+ │ └── flags: decimal
+ ├── closing_loc: ∅
+ └── block: ∅