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:
20
spec/tests/toml/comment-section-header.txt
Normal file
20
spec/tests/toml/comment-section-header.txt
Normal file
@ -0,0 +1,20 @@
|
||||
---input---
|
||||
[example] # A comment can appear on the same line as a section header
|
||||
foo = "bar"
|
||||
|
||||
---tokens---
|
||||
'[' Keyword
|
||||
'example' Keyword
|
||||
']' Keyword
|
||||
' ' Text.Whitespace
|
||||
'# A comment can appear on the same line as a section header' Comment.Single
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'foo' Name
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'"' Literal.String.Double
|
||||
'bar' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user