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:
115
spec/unsupported_lexers/markdown/test_subheadings.txt
Normal file
115
spec/unsupported_lexers/markdown/test_subheadings.txt
Normal file
@ -0,0 +1,115 @@
|
||||
---input---
|
||||
Subheadings:
|
||||
|
||||
##Subheading
|
||||
|
||||
## Subheading
|
||||
|
||||
### Subheading
|
||||
|
||||
#### Subheading
|
||||
|
||||
##### Subheading
|
||||
|
||||
## Another subheading
|
||||
|
||||
## Another ## subheading
|
||||
|
||||
##### Subheading #
|
||||
|
||||
##### Subheading #####
|
||||
|
||||
|
||||
These are NOT subheadings:
|
||||
|
||||
##
|
||||
|
||||
a ##
|
||||
|
||||
*##
|
||||
|
||||
###### too many hashes
|
||||
|
||||
---tokens---
|
||||
'Subheadings:' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'##Subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'## Subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'### Subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'#### Subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'##### Subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'## Another subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'## Another ## subheading' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'##### Subheading #' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'##### Subheading #####' Generic.Subheading
|
||||
'\n' Text
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'These' Text
|
||||
' ' Text
|
||||
'are' Text
|
||||
' ' Text
|
||||
'NOT' Text
|
||||
' ' Text
|
||||
'subheadings:' 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
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'###### too many hashes' Generic.Subheading
|
||||
'\n' Text
|
Reference in New Issue
Block a user