diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-15 13:28:09 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-15 13:28:09 +0200 |
commit | 7883e42c07acbccc16a2f5de5d1b98de364cc1ad (patch) | |
tree | 78cf2a8349968b45a40b0191e0209d89459cfc24 /tests/heading_atx.rs | |
parent | 2f37ee269725b82913e937fbaaed909f10e4c464 (diff) | |
download | markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.tar.gz markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.tar.bz2 markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.zip |
Update to enable some tests for added constructs
Diffstat (limited to 'tests/heading_atx.rs')
-rw-r--r-- | tests/heading_atx.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs index 8d4acfd..20da860 100644 --- a/tests/heading_atx.rs +++ b/tests/heading_atx.rs @@ -56,13 +56,13 @@ fn heading_atx() { "should not support a heading for a number sign not followed by whitespace (2)" ); - // To do: phrasing. - // assert_eq!( - // micromark("\\## foo"), - // "<p>## foo</p>", - // "should not support a heading for an escaped number sign" - // ); + assert_eq!( + micromark("\\## foo"), + "<p>## foo</p>", + "should not support a heading for an escaped number sign" + ); + // To do: attention. // assert_eq!( // micromark("# foo *bar* \\*baz\\*"), // "<h1>foo <em>bar</em> *baz*</h1>", |