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:
81
spec/unsupported_lexers/markdown/test_headings.txt
Normal file
81
spec/unsupported_lexers/markdown/test_headings.txt
Normal file
@ -0,0 +1,81 @@
|
||||
---input---
|
||||
Headings:
|
||||
|
||||
#Heading
|
||||
|
||||
# Heading
|
||||
|
||||
# Another heading
|
||||
|
||||
# Another # heading
|
||||
|
||||
# Heading #
|
||||
|
||||
These are NOT parsed as headings:
|
||||
|
||||
#
|
||||
|
||||
a #
|
||||
|
||||
*#
|
||||
|
||||
---tokens---
|
||||
'Headings:' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'#Heading' Generic.Heading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'# Heading' Generic.Heading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'# Another heading' Generic.Heading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'# Another # heading' Generic.Heading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'# Heading #' Generic.Heading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'These' Text
|
||||
' ' Text
|
||||
'are' Text
|
||||
' ' Text
|
||||
'NOT' Text
|
||||
' ' Text
|
||||
'parsed' Text
|
||||
' ' Text
|
||||
'as' Text
|
||||
' ' Text
|
||||
'headings:' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'#' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'a' Text
|
||||
' ' Text
|
||||
'#' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'*#' Text
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user