mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-13 05:59:25 +00:00
Reorganize tests into a real spec suite
This commit is contained in:
13
spec/tests/yaml/test_yaml.txt
Normal file
13
spec/tests/yaml/test_yaml.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
# Bug #1528: This previously parsed 'token # innocent' as a tag
|
||||
|
||||
---input---
|
||||
here: token # innocent: comment
|
||||
|
||||
---tokens---
|
||||
'here' Name.Tag
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'token' Literal.Scalar.Plain
|
||||
' ' Text.Whitespace
|
||||
'# innocent: comment' Comment.Single
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user