summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/regexp_unicode_curlies.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/seattlerb/regexp_unicode_curlies.txt')
-rw-r--r--test/prism/snapshots/seattlerb/regexp_unicode_curlies.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/regexp_unicode_curlies.txt b/test/prism/snapshots/seattlerb/regexp_unicode_curlies.txt
new file mode 100644
index 0000000000..487161b4d0
--- /dev/null
+++ b/test/prism/snapshots/seattlerb/regexp_unicode_curlies.txt
@@ -0,0 +1,17 @@
+@ ProgramNode (location: (1,0)-(3,8))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(3,8))
+ └── body: (length: 2)
+ ├── @ RegularExpressionNode (location: (1,0)-(1,15))
+ │ ├── flags: forced_utf8_encoding
+ │ ├── opening_loc: (1,0)-(1,1) = "/"
+ │ ├── content_loc: (1,1)-(1,14) = "\\u{c0de babe}"
+ │ ├── closing_loc: (1,14)-(1,15) = "/"
+ │ └── unescaped: "\\u{c0de babe}"
+ └── @ RegularExpressionNode (location: (3,0)-(3,8))
+ ├── flags: forced_utf8_encoding
+ ├── opening_loc: (3,0)-(3,1) = "/"
+ ├── content_loc: (3,1)-(3,7) = "\\u{df}"
+ ├── closing_loc: (3,7)-(3,8) = "/"
+ └── unescaped: "\\u{df}"