mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
29
spec/tests/idris/test_reserved_word.txt
Normal file
29
spec/tests/idris/test_reserved_word.txt
Normal file
@ -0,0 +1,29 @@
|
||||
---input---
|
||||
namespace Foobar
|
||||
links : String
|
||||
links = "abc"
|
||||
|
||||
---tokens---
|
||||
'namespace' Keyword.Reserved
|
||||
' ' Text.Whitespace
|
||||
'Foobar' Keyword.Type
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'links' Name.Function
|
||||
' ' Text.Whitespace
|
||||
':' Operator.Word
|
||||
' ' Text.Whitespace
|
||||
'String' Keyword.Type
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
' ' Text.Whitespace
|
||||
'links' Text
|
||||
' ' Text.Whitespace
|
||||
'=' Operator.Word
|
||||
' ' Text.Whitespace
|
||||
'"' Literal.String
|
||||
'abc' Literal.String
|
||||
'"' Literal.String
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user