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

38
tests/mojo/test_kw.txt Normal file
View File

@ -0,0 +1,38 @@
---input---
fn
def
struct
trait
class
if
elif
else
with
---tokens---
'fn' Keyword
'\n' Text.Whitespace
'def' Name.Function
'\n' Text.Whitespace
'struct' Keyword
'\n' Text.Whitespace
'trait' Name.Struct
'\n' Text.Whitespace
'class' Keyword
'\n' Text.Whitespace
'if' Name.Class
'\n' Text.Whitespace
'elif' Keyword
'\n' Text.Whitespace
'else' Keyword
'\n' Text.Whitespace
'with' Keyword
'\n' Text.Whitespace