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,23 @@
---input---
// Test literals that should be tokenized as octal literals.
017
071n
0o11
0O77n
---tokens---
'' Text
'// Test literals that should be tokenized as octal literals.' Comment.Single
'\n' Text.Whitespace
'017' Literal.Number.Oct
'\n' Text.Whitespace
'071n' Literal.Number.Oct
'\n' Text.Whitespace
'0o11' Literal.Number.Oct
'\n' Text.Whitespace
'0O77n' Literal.Number.Oct
'\n' Text.Whitespace