mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-18 17:29:37 +00:00
Imported test cases from pygments
This commit is contained in:
39
tests/rust/test_break.txt
Normal file
39
tests/rust/test_break.txt
Normal 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
|
Reference in New Issue
Block a user