aboutsummaryrefslogtreecommitdiffstats
path: root/tests/definition.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/definition.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/definition.rs b/tests/definition.rs
index ffb3460..0686b6d 100644
--- a/tests/definition.rs
+++ b/tests/definition.rs
@@ -165,12 +165,11 @@ fn definition() {
"should not support definitions in paragraphs"
);
- // To do: block quote (some bug).
- // assert_eq!(
- // micromark("# [Foo]\n[foo]: /url\n> bar"),
- // "<h1><a href=\"/url\">Foo</a></h1>\n<blockquote>\n<p>bar</p>\n</blockquote>",
- // "should not support definitions in headings"
- // );
+ assert_eq!(
+ micromark("# [Foo]\n[foo]: /url\n> bar"),
+ "<h1><a href=\"/url\">Foo</a></h1>\n<blockquote>\n<p>bar</p>\n</blockquote>",
+ "should not support definitions in headings"
+ );
assert_eq!(
micromark("[foo]: /url\nbar\n===\n[foo]"),