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,21 @@
# Tests that ':=' is recognized as an Operator
---input---
if (a := 2) > 4:
---tokens---
'if' Keyword
' ' Text
'(' Punctuation
'a' Name
' ' Text
':=' Operator
' ' Text
'2' Literal.Number.Integer
')' Punctuation
' ' Text
'>' Operator
' ' Text
'4' Literal.Number.Integer
':' Punctuation
'\n' Text.Whitespace