Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

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