aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_quote.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-12 13:00:53 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-12 13:00:53 +0200
commit75522b867b15b9a400275cfec9a2ead4ff535473 (patch)
tree4a9511f6b8899e1ead2ca02686ffd571b1bd4e1f /tests/block_quote.rs
parent2ce19d9fd8f75ee1e3d62762e91f5d18303d4d6b (diff)
downloadmarkdown-rs-75522b867b15b9a400275cfec9a2ead4ff535473.tar.gz
markdown-rs-75522b867b15b9a400275cfec9a2ead4ff535473.tar.bz2
markdown-rs-75522b867b15b9a400275cfec9a2ead4ff535473.zip
Add initial support for lists
Diffstat (limited to 'tests/block_quote.rs')
-rw-r--r--tests/block_quote.rs15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/block_quote.rs b/tests/block_quote.rs
index a448ece..fe7cc5d 100644
--- a/tests/block_quote.rs
+++ b/tests/block_quote.rs
@@ -51,14 +51,14 @@ fn block_quote() {
"should not support lazy setext headings underlines in block quotes"
);
- // To do: list.
+ // To do: list (some bug).
// assert_eq!(
// micromark("> - a\n> - b"),
// "<blockquote>\n<ul>\n<li>a</li>\n<li>b</li>\n</ul>\n</blockquote>",
// "should support lists in block quotes"
// );
- // To do: list.
+ // To do: list (some bug).
// assert_eq!(
// micromark("> - a\n- b"),
// "<blockquote>\n<ul>\n<li>a</li>\n</ul>\n</blockquote>\n<ul>\n<li>b</li>\n</ul>",
@@ -77,12 +77,11 @@ fn block_quote() {
"should not support lazy fenced code in block quotes"
);
- // To do: list.
- // assert_eq!(
- // micromark("> a\n - b"),
- // "<blockquote>\n<p>a\n- b</p>\n</blockquote>",
- // "should not support lazy indented code (or lazy list) in block quotes"
- // );
+ assert_eq!(
+ micromark("> a\n - b"),
+ "<blockquote>\n<p>a\n- b</p>\n</blockquote>",
+ "should not support lazy indented code (or lazy list) in block quotes"
+ );
assert_eq!(
micromark(">"),