mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
22
spec/tests/java/test_enhanced_for.txt
Normal file
22
spec/tests/java/test_enhanced_for.txt
Normal file
@ -0,0 +1,22 @@
|
||||
---input---
|
||||
label:
|
||||
for(String var2: var1) {}
|
||||
|
||||
---tokens---
|
||||
'label' Name.Label
|
||||
':' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'for' Keyword
|
||||
'(' Punctuation
|
||||
'String' Name
|
||||
' ' Text.Whitespace
|
||||
'var2' Name
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'var1' Name
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'{' Punctuation
|
||||
'}' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user