aboutsummaryrefslogtreecommitdiffstats
path: root/tests/heading_atx.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-11 19:49:34 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-11 19:49:34 +0200
commit2ce19d9fd8f75ee1e3d62762e91f5d18303d4d6b (patch)
treead2aa2dc2c96b9de278f6fd5252f1b511c1e07a4 /tests/heading_atx.rs
parentb7bd2b734fae09c40d738fcd57d5ee6876f0f504 (diff)
downloadmarkdown-rs-2ce19d9fd8f75ee1e3d62762e91f5d18303d4d6b.tar.gz
markdown-rs-2ce19d9fd8f75ee1e3d62762e91f5d18303d4d6b.tar.bz2
markdown-rs-2ce19d9fd8f75ee1e3d62762e91f5d18303d4d6b.zip
Add support for lazy lines
Diffstat (limited to 'tests/heading_atx.rs')
-rw-r--r--tests/heading_atx.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs
index b7c87fe..530ddc5 100644
--- a/tests/heading_atx.rs
+++ b/tests/heading_atx.rs
@@ -188,11 +188,11 @@ fn heading_atx() {
"should not support lazyness (1)"
);
- // assert_eq!(
- // micromark("> a\n#"),
- // "<blockquote>\n<p>a</p>\n</blockquote>\n<h1></h1>",
- // "should not support lazyness (2)"
- // );
+ assert_eq!(
+ micromark("> a\n#"),
+ "<blockquote>\n<p>a</p>\n</blockquote>\n<h1></h1>",
+ "should not support lazyness (2)"
+ );
// To do: turning things off:
// assert_eq!(