Imported test cases from pygments

This commit is contained in:
2024-08-03 07:36:47 -03:00
parent c9df4be879
commit 99e1e2b0cb
692 changed files with 37403 additions and 0 deletions

30
tests/json/test_basic.txt Normal file
View File

@ -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