Imported test cases from pygments

This commit is contained in:
2024-08-03 07:36:47 -03:00
parent c9df4be879
commit 99e1e2b0cb
692 changed files with 37403 additions and 0 deletions

View File

@ -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