summaryrefslogtreecommitdiff
path: root/tests/snippets/json/test_whitespace.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/json/test_whitespace.txt')
-rw-r--r--tests/snippets/json/test_whitespace.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/snippets/json/test_whitespace.txt b/tests/snippets/json/test_whitespace.txt
new file mode 100644
index 00000000..c4c86588
--- /dev/null
+++ b/tests/snippets/json/test_whitespace.txt
@@ -0,0 +1,17 @@
+---input---
+{
+ "tabs": "here",
+}
+
+---tokens---
+'{' Punctuation
+'\n\t' Text.Whitespace
+'"tabs"' Name.Tag
+':' Punctuation
+' ' Text.Whitespace
+'"here"' Literal.String.Double
+',' Punctuation
+'\n' Text.Whitespace
+
+'}' Punctuation
+'\n' Text.Whitespace