mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 22:57:50 -03:00
Imported test cases from pygments
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