aboutsummaryrefslogtreecommitdiffstats
path: root/tests/image.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/image.rs')
-rw-r--r--tests/image.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/image.rs b/tests/image.rs
index 68b9717..6db6d75 100644
--- a/tests/image.rs
+++ b/tests/image.rs
@@ -102,12 +102,11 @@ fn image() {
"should support case-insensitive labels"
);
- // To do: trim paragraphs.
- // assert_eq!(
- // micromark("[foo]: /url \"title\"\n\n![foo] \n[]"),
- // "<p><img src=\"/url\" alt=\"foo\" title=\"title\" />\n[]</p>",
- // "should not support whitespace between sets of brackets"
- // );
+ assert_eq!(
+ micromark("[foo]: /url \"title\"\n\n![foo] \n[]"),
+ "<p><img src=\"/url\" alt=\"foo\" title=\"title\" />\n[]</p>",
+ "should not support whitespace between sets of brackets"
+ );
assert_eq!(
micromark("[foo]: /url \"title\"\n\n![foo]"),