aboutsummaryrefslogtreecommitdiffstats
path: root/tests/heading_atx.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-07 17:21:38 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-07 17:36:35 +0200
commit4806864e5377a5fef937b3fa02542e620c547969 (patch)
treec91ae2bbd1dc2037f425efd24d62d05e706e3e60 /tests/heading_atx.rs
parentc2b4402223e53498078fc33dd55aabc0a48cdb56 (diff)
downloadmarkdown-rs-4806864e5377a5fef937b3fa02542e620c547969.tar.gz
markdown-rs-4806864e5377a5fef937b3fa02542e620c547969.tar.bz2
markdown-rs-4806864e5377a5fef937b3fa02542e620c547969.zip
Add basic support for block quotes
Diffstat (limited to 'tests/heading_atx.rs')
-rw-r--r--tests/heading_atx.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs
index c9aa803..b7c87fe 100644
--- a/tests/heading_atx.rs
+++ b/tests/heading_atx.rs
@@ -182,12 +182,11 @@ fn heading_atx() {
"should support empty atx headings"
);
- // To do: block quote.
- // assert_eq!(
- // micromark("> #\na"),
- // "<blockquote>\n<h1></h1>\n</blockquote>\n<p>a</p>",
- // "should not support lazyness (1)"
- // );
+ assert_eq!(
+ micromark("> #\na"),
+ "<blockquote>\n<h1></h1>\n</blockquote>\n<p>a</p>",
+ "should not support lazyness (1)"
+ );
// assert_eq!(
// micromark("> a\n#"),