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,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