Skip to content

Commit

Permalink
fix(tests): adapt expected to heading changes (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
clason authored Oct 20, 2024
1 parent 2249c44 commit 59c5392
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
10 changes: 7 additions & 3 deletions test/corpus/codeblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ H3 HEADLINE *foo*
(line))))
(line
(h1
(word)
(delimiter)
(heading
(word))
(tag
(word))))
(line
Expand All @@ -191,7 +193,9 @@ H3 HEADLINE *foo*
(line))))
(line
(h2
(word)
(delimiter)
(heading
(word))
(tag
(word)))))
(block
Expand All @@ -202,7 +206,7 @@ H3 HEADLINE *foo*
(line))))
(line
(h3
(uppercase_name)
(heading)
(tag
(word))))))

Expand Down
30 changes: 19 additions & 11 deletions test/corpus/heading1_2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Text2
(block
(line
(h1
(word)
(delimiter)
(heading
(word))
(tag
(word)))))
(block
Expand All @@ -28,8 +30,10 @@ Text2
(block
(line
(h2
(word)
(word)
(delimiter)
(heading
(word)
(word))
(tag
(word))
(tag
Expand Down Expand Up @@ -59,20 +63,24 @@ Text
(block
(line
(h1
(tag
(word))
(word)
(word))))
(delimiter)
(heading
(tag
(word))
(word)
(word)))))
(block
(line
(word)))
(block
(line
(h2
(tag
(word))
(word)
(word))))
(delimiter)
(heading
(tag
(word))
(word)
(word)))))
(block
(line
(word))))
Expand Down

0 comments on commit 59c5392

Please sign in to comment.