mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-28 19:09:32 -03:00
Imported test cases from pygments
This commit is contained in:
11
tests/yaml/test_yaml_colon_in_key.txt
Normal file
11
tests/yaml/test_yaml_colon_in_key.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# Colon in the key name is accepted by the YAML specs too
|
||||
|
||||
---input---
|
||||
foo:bar: value
|
||||
|
||||
---tokens---
|
||||
'foo:bar' Name.Tag
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'value' Literal.Scalar.Plain
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user