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:
18
spec/tests/typescript/test_function_definition.txt
Normal file
18
spec/tests/typescript/test_function_definition.txt
Normal file
@ -0,0 +1,18 @@
|
||||
---input---
|
||||
async function main() {
|
||||
}
|
||||
|
||||
---tokens---
|
||||
'async' Keyword
|
||||
' ' Text.Whitespace
|
||||
'function' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'main' Name.Other
|
||||
'(' Punctuation
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'{' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'}' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user