mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
33
spec/tests/scala/test_colon_colon_function_name.txt
Normal file
33
spec/tests/scala/test_colon_colon_function_name.txt
Normal file
@ -0,0 +1,33 @@
|
||||
---input---
|
||||
def ::(xs: List[T]): List[T] = ::(x, xs)
|
||||
|
||||
---tokens---
|
||||
'def' Keyword
|
||||
' ' Text.Whitespace
|
||||
'::' Name.Function
|
||||
'(' Punctuation
|
||||
'xs' Name
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'List' Name.Class
|
||||
'[' Punctuation
|
||||
'T' Name.Class
|
||||
']' Punctuation
|
||||
')' Punctuation
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'List' Name.Class
|
||||
'[' Punctuation
|
||||
'T' Name.Class
|
||||
']' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'::' Name
|
||||
'(' Punctuation
|
||||
'x' Name
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'xs' Name
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user