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:
42
spec/tests/json/test_strings.txt
Normal file
42
spec/tests/json/test_strings.txt
Normal file
@ -0,0 +1,42 @@
|
||||
---input---
|
||||
""
|
||||
"abc"
|
||||
"ひらがな"
|
||||
"123"
|
||||
"[]"
|
||||
"{}"
|
||||
"true"
|
||||
"false"
|
||||
"nul"
|
||||
":,"
|
||||
|
||||
---tokens---
|
||||
'""' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"abc"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"ひらがな"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"123"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"[]"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"{}"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"true"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"false"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'"nul"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'":,"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user