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,19 @@
|
||||
---input---
|
||||
// Test literals that should be tokenized as hexadecimal literals.
|
||||
0x01
|
||||
0Xefn
|
||||
0x0EF
|
||||
|
||||
---tokens---
|
||||
'' Text
|
||||
'// Test literals that should be tokenized as hexadecimal literals.' Comment.Single
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'0x01' Literal.Number.Hex
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'0Xefn' Literal.Number.Hex
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'0x0EF' Literal.Number.Hex
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user