summaryrefslogtreecommitdiffstats
path: root/tests/snippets/crystal/test_pseudo_builtins.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/crystal/test_pseudo_builtins.txt')
-rw-r--r--tests/snippets/crystal/test_pseudo_builtins.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/snippets/crystal/test_pseudo_builtins.txt b/tests/snippets/crystal/test_pseudo_builtins.txt
new file mode 100644
index 0000000..9c8c917
--- /dev/null
+++ b/tests/snippets/crystal/test_pseudo_builtins.txt
@@ -0,0 +1,20 @@
+---input---
+record Cls do
+def_equals s
+end
+
+---tokens---
+'record' Name.Builtin.Pseudo
+' ' Text.Whitespace
+'Cls' Name
+' ' Text.Whitespace
+'do' Keyword
+'\n' Text.Whitespace
+
+'def_equals' Name.Builtin.Pseudo
+' ' Text.Whitespace
+'s' Name
+'\n' Text.Whitespace
+
+'end' Keyword
+'\n' Text.Whitespace