diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-09 14:03:04 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-09 14:03:04 +0200 |
commit | cba78821ed13d5a92c74d092914fbad4c842f889 (patch) | |
tree | 669b341687e0e1fc9f443625d7a29c5a56d9f700 /tests/heading_atx.rs | |
parent | 10355a403f57c93a074716c785d588c76de5634c (diff) | |
download | markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.tar.gz markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.tar.bz2 markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.zip |
Add temporary support for stripping whitespace
Diffstat (limited to 'tests/heading_atx.rs')
-rw-r--r-- | tests/heading_atx.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs index 7a830fe..defc77f 100644 --- a/tests/heading_atx.rs +++ b/tests/heading_atx.rs @@ -99,12 +99,11 @@ fn heading_atx() { "should not support four initial spaces" ); - // To do: strip whitespace. - // assert_eq!( - // micromark("foo\n # bar"), - // "<p>foo\n# bar</p>", - // "should not support four initial spaces when interrupting" - // ); + assert_eq!( + micromark("foo\n # bar"), + "<p>foo\n# bar</p>", + "should not support four initial spaces when interrupting" + ); assert_eq!( micromark("## foo ##"), |