Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View 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