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,52 @@
---input---
123 0123456789
0xabcdef0123456789 0XABCDEF
1e2
3e+4
5e-6
7E8
9E+0
1E-2
3.
4.56
.789
---tokens---
'123' Literal.Number.Integer
' ' Text.Whitespace
'0123456789' Literal.Number.Integer
'\n' Text.Whitespace
'0x' Keyword.Type
'abcdef0123456789' Literal.Number.Hex
' ' Text.Whitespace
'0X' Keyword.Type
'ABCDEF' Literal.Number.Hex
'\n' Text.Whitespace
'1e2' Literal.Number.Float
'\n' Text.Whitespace
'3e+4' Literal.Number.Float
'\n' Text.Whitespace
'5e-6' Literal.Number.Float
'\n' Text.Whitespace
'7E8' Literal.Number.Float
'\n' Text.Whitespace
'9E+0' Literal.Number.Float
'\n' Text.Whitespace
'1E-2' Literal.Number.Float
'\n' Text.Whitespace
'3.' Literal.Number.Float
'\n' Text.Whitespace
'4.56' Literal.Number.Float
'\n' Text.Whitespace
'.789' Literal.Number.Float
'\n' Text.Whitespace