mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
39
spec/tests/rust/test_break.txt
Normal file
39
spec/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