diff options
Diffstat (limited to '')
-rw-r--r-- | tests/snippets/json/test_basic.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/snippets/json/test_basic.txt b/tests/snippets/json/test_basic.txt new file mode 100644 index 0000000..f93b91b --- /dev/null +++ b/tests/snippets/json/test_basic.txt @@ -0,0 +1,30 @@ +---input--- +{"foo": "bar", "foo2": [1, 2, 3], "\u0123": "\u0123"} + +---tokens--- +'{' Punctuation +'"foo"' Name.Tag +':' Punctuation +' ' Text.Whitespace +'"bar"' Literal.String.Double +',' Punctuation +' ' Text.Whitespace +'"foo2"' Name.Tag +':' Punctuation +' ' Text.Whitespace +'[' Punctuation +'1' Literal.Number.Integer +',' Punctuation +' ' Text.Whitespace +'2' Literal.Number.Integer +',' Punctuation +' ' Text.Whitespace +'3' Literal.Number.Integer +'],' Punctuation +' ' Text.Whitespace +'"\\u0123"' Name.Tag +':' Punctuation +' ' Text.Whitespace +'"\\u0123"' Literal.String.Double +'}' Punctuation +'\n' Text.Whitespace |