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:
43
spec/tests/scheme/keywords.txt
Normal file
43
spec/tests/scheme/keywords.txt
Normal file
@ -0,0 +1,43 @@
|
||||
---input---
|
||||
(define* (foo #:key (bar123? 'baz))
|
||||
(display bar123?)
|
||||
(newline))
|
||||
|
||||
(foo #:bar123? 'xyz)
|
||||
|
||||
---tokens---
|
||||
'(' Punctuation
|
||||
'define*' Keyword
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'foo' Name.Function
|
||||
' ' Text.Whitespace
|
||||
'#:key' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'bar123?' Name.Function
|
||||
' ' Text.Whitespace
|
||||
"'baz" Literal.String.Symbol
|
||||
')' Punctuation
|
||||
')' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'display' Name.Builtin
|
||||
' ' Text.Whitespace
|
||||
'bar123?' Name.Variable
|
||||
')' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'newline' Name.Builtin
|
||||
')' Punctuation
|
||||
')' Punctuation
|
||||
'\n\n' Text.Whitespace
|
||||
|
||||
'(' Punctuation
|
||||
'foo' Name.Function
|
||||
' ' Text.Whitespace
|
||||
'#:bar123?' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
"'xyz" Literal.String.Symbol
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user