mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-13 05:59:25 +00:00
Imported test cases from pygments
This commit is contained in:
18
tests/typescript/test_function_definition.txt
Normal file
18
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