diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-15 19:54:38 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-15 19:54:38 +0200 |
commit | 3aa10425c95bbe79050c3166702e38758fbe646e (patch) | |
tree | f854f6a2c481f385390e49f7d51ca7172a0b1dff /tests | |
parent | 2ae00fbbf2f88da9163b512b1f1205e18499ab9e (diff) | |
download | markdown-rs-3aa10425c95bbe79050c3166702e38758fbe646e.tar.gz markdown-rs-3aa10425c95bbe79050c3166702e38758fbe646e.tar.bz2 markdown-rs-3aa10425c95bbe79050c3166702e38758fbe646e.zip |
Fix interrupting of ordered items
Diffstat (limited to 'tests')
-rw-r--r-- | tests/commonmark.rs | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/tests/commonmark.rs b/tests/commonmark.rs index 1843a51..1734004 100644 --- a/tests/commonmark.rs +++ b/tests/commonmark.rs @@ -999,7 +999,7 @@ of dashes"/> r###"Setext headings (91)"### ); -// To do: some interruption bug. +// To do: lazy setext underline bug. // assert_eq!( // micromark_with_options(r###"> foo // bar @@ -3913,16 +3913,15 @@ baz</li> r###"Lists (302)"### ); - // To do: Some interruption bug. - // assert_eq!( - // micromark_with_options(r###"The number of windows in my house is - // 14. The number of doors is 6. - // "###, DANGER), - // r###"<p>The number of windows in my house is - // 14. The number of doors is 6.</p> - // "###, - // r###"Lists (303)"### - // ); + assert_eq!( + micromark_with_options(r###"The number of windows in my house is +14. The number of doors is 6. +"###, DANGER), + r###"<p>The number of windows in my house is +14. The number of doors is 6.</p> +"###, + r###"Lists (303)"### +); assert_eq!( micromark_with_options(r###"The number of windows in my house is |