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:
17
spec/tests/tcl/test_vars.txt
Normal file
17
spec/tests/tcl/test_vars.txt
Normal file
@ -0,0 +1,17 @@
|
||||
---input---
|
||||
set size 10; puts ${size}x${size}
|
||||
|
||||
---tokens---
|
||||
'set' Keyword
|
||||
' ' Text.Whitespace
|
||||
'size' Text
|
||||
' ' Text.Whitespace
|
||||
'10' Literal.Number.Integer
|
||||
';' Keyword
|
||||
' ' Text.Whitespace
|
||||
'puts' Name.Builtin
|
||||
' ' Text.Whitespace
|
||||
'${size}' Name.Variable
|
||||
'x' Text
|
||||
'${size}' Name.Variable
|
||||
'\n' Text
|
Reference in New Issue
Block a user