Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View 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