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

39
tests/rust/test_break.txt Normal file
View File

@@ -0,0 +1,39 @@
---input---
loop {
break;
break 'foo;
break'foo;
break_it;
}
---tokens---
'loop' Keyword
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break' Keyword
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break' Keyword
' ' Text.Whitespace
"'foo" Name.Label
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break' Keyword
"'foo" Name.Label
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break_it' Name
';' Punctuation
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace