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:
@ -0,0 +1,20 @@
|
||||
---input---
|
||||
// Test text that should **not** be tokenized as integer literals.
|
||||
1N
|
||||
1
|
||||
1.0
|
||||
|
||||
---tokens---
|
||||
'' Text
|
||||
'// Test text that should **not** be tokenized as integer literals.' Comment.Single
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1' Literal.Number.Float
|
||||
'N' Name.Other
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1.0' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user