mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
23
spec/tests/json/test_basic_bare.txt
Normal file
23
spec/tests/json/test_basic_bare.txt
Normal file
@ -0,0 +1,23 @@
|
||||
---input---
|
||||
"foo": "bar", "foo2": [1, 2, 3]
|
||||
|
||||
---tokens---
|
||||
'"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
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user