summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/pattern_matching_else.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/whitequark/pattern_matching_else.txt')
-rw-r--r--test/prism/snapshots/whitequark/pattern_matching_else.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/prism/snapshots/whitequark/pattern_matching_else.txt b/test/prism/snapshots/whitequark/pattern_matching_else.txt
index 944cc7b429..7f83aafe99 100644
--- a/test/prism/snapshots/whitequark/pattern_matching_else.txt
+++ b/test/prism/snapshots/whitequark/pattern_matching_else.txt
@@ -6,17 +6,20 @@
└── @ CaseMatchNode (location: (1,0)-(1,29))
├── predicate:
│ @ IntegerNode (location: (1,5)-(1,6))
- │ └── flags: decimal
+ │ ├── flags: decimal
+ │ └── value: 1
├── conditions: (length: 1)
│ └── @ InNode (location: (1,8)-(1,15))
│ ├── pattern:
│ │ @ IntegerNode (location: (1,11)-(1,12))
- │ │ └── flags: decimal
+ │ │ ├── flags: decimal
+ │ │ └── value: 2
│ ├── statements:
│ │ @ StatementsNode (location: (1,14)-(1,15))
│ │ └── body: (length: 1)
│ │ └── @ IntegerNode (location: (1,14)-(1,15))
- │ │ └── flags: decimal
+ │ │ ├── flags: decimal
+ │ │ └── value: 3
│ ├── in_loc: (1,8)-(1,10) = "in"
│ └── then_loc: ∅
├── consequent:
@@ -26,7 +29,8 @@
│ │ @ StatementsNode (location: (1,23)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ IntegerNode (location: (1,23)-(1,24))
- │ │ └── flags: decimal
+ │ │ ├── flags: decimal
+ │ │ └── value: 4
│ └── end_keyword_loc: (1,26)-(1,29) = "end"
├── case_keyword_loc: (1,0)-(1,4) = "case"
└── end_keyword_loc: (1,26)-(1,29) = "end"