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,39 @@
---input---
{root: [{compound: 1b}, {compound: 2b, tag: {key: "value"}}]}
---tokens---
'{' Punctuation
'root' Name.Attribute
':' Punctuation
' ' Text.Whitespace
'[' Punctuation
'{' Punctuation
'compound' Name.Attribute
':' Punctuation
' ' Text.Whitespace
'1b' Literal.Number.Integer
'}' Punctuation
',' Punctuation
' ' Text.Whitespace
'{' Punctuation
'compound' Name.Attribute
':' Punctuation
' ' Text.Whitespace
'2b' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'tag' Name.Attribute
':' Punctuation
' ' Text.Whitespace
'{' Punctuation
'key' Name.Attribute
':' Punctuation
' ' Text.Whitespace
'"' Literal.String.Double
'value' Literal.String.Double
'"' Literal.String.Double
'}' Punctuation
'}' Punctuation
']' Punctuation
'}' Punctuation
'\n' Text