aboutsummaryrefslogtreecommitdiffstats
path: root/tests/definition.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-08 13:26:23 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-08 13:26:23 +0200
commitc1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5 (patch)
treea94fc69206c3d493028845030f5d9beb3fce48bd /tests/definition.rs
parentbd0cb0d0395abb06941960938aacc3639148a96c (diff)
downloadmarkdown-rs-c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5.tar.gz
markdown-rs-c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5.tar.bz2
markdown-rs-c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5.zip
Fix closing of flow when exiting containers
Diffstat (limited to 'tests/definition.rs')
-rw-r--r--tests/definition.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/definition.rs b/tests/definition.rs
index ca8b97c..ffb3460 100644
--- a/tests/definition.rs
+++ b/tests/definition.rs
@@ -192,12 +192,11 @@ fn definition() {
"should support definitions after definitions"
);
- // To do: block quote (some bug).
- // assert_eq!(
- // micromark("> [foo]: /url\n\n[foo]"),
- // "<blockquote>\n</blockquote>\n<p><a href=\"/url\">foo</a></p>",
- // "should support definitions in block quotes"
- // );
+ assert_eq!(
+ micromark("> [foo]: /url\n\n[foo]"),
+ "<blockquote>\n</blockquote>\n<p><a href=\"/url\">foo</a></p>",
+ "should support definitions in block quotes"
+ );
// Extra
assert_eq!(