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

21
tests/rust/test_func.txt Normal file
View File

@@ -0,0 +1,21 @@
---input---
fn func(x: u32) -> None {}
---tokens---
'fn' Keyword
' ' Text.Whitespace
'func' Name.Function
'(' Punctuation
'x' Name
':' Punctuation
' ' Text.Whitespace
'u32' Keyword.Type
')' Punctuation
' ' Text.Whitespace
'->' Punctuation
' ' Text.Whitespace
'None' Name.Builtin
' ' Text.Whitespace
'{' Punctuation
'}' Punctuation
'\n' Text.Whitespace