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,14 @@
# This demonstrates the case that "This isn't really guarding" comment
# refers to.
---input---
/a/x;
---tokens---
'' Text
'/' Operator
'a' Name.Other
'/' Operator
'x' Name.Other
';' Punctuation
'\n' Text.Whitespace

View File

@ -0,0 +1,13 @@
---input---
a?/foo/:1/2;
---tokens---
'a' Name.Other
'?' Operator
'/foo/' Literal.String.Regex
':' Operator
'1' Literal.Number.Integer
'/' Operator
'2' Literal.Number.Integer
';' Punctuation
'\n' Text.Whitespace