mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
22
spec/tests/gdscript/test_simple_function.txt
Normal file
22
spec/tests/gdscript/test_simple_function.txt
Normal file
@ -0,0 +1,22 @@
|
||||
---input---
|
||||
func abc(arg):
|
||||
print("Hello, World!")
|
||||
|
||||
---tokens---
|
||||
'func' Keyword
|
||||
' ' Text.Whitespace
|
||||
'abc' Name
|
||||
'(' Punctuation
|
||||
'arg' Name
|
||||
')' Punctuation
|
||||
':' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\t' Text.Whitespace
|
||||
'print' Name.Builtin
|
||||
'(' Punctuation
|
||||
'"' Literal.String.Double
|
||||
'Hello, World!' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user