mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
22
spec/tests/qbasic/test_keywords_with_dollar.txt
Normal file
22
spec/tests/qbasic/test_keywords_with_dollar.txt
Normal file
@ -0,0 +1,22 @@
|
||||
---input---
|
||||
DIM x
|
||||
x = RIGHT$("abc", 1)
|
||||
|
||||
---tokens---
|
||||
'DIM' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'x' Name.Variable.Global
|
||||
'\n' Text
|
||||
|
||||
'x' Name.Variable.Global
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'RIGHT$' Keyword.Reserved
|
||||
'(' Punctuation
|
||||
'"abc"' Literal.String.Double
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'1' Literal.Number.Integer.Long
|
||||
')' Punctuation
|
||||
'\n' Text
|
Reference in New Issue
Block a user