diff options
Diffstat (limited to '')
-rw-r--r-- | tests/attention.rs | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/tests/attention.rs b/tests/attention.rs index 6ab173b..789d860 100644 --- a/tests/attention.rs +++ b/tests/attention.rs @@ -753,19 +753,17 @@ fn attention() { ); // Rule 17. - // To do: attention/link interplay. - // assert_eq!( - // micromark("*[bar*](/url)"), - // "<p>*<a href=\"/url\">bar*</a></p>", - // "should not mismatch inside links (1)" - // ); + assert_eq!( + micromark("*[bar*](/url)"), + "<p>*<a href=\"/url\">bar*</a></p>", + "should not mismatch inside links (1)" + ); - // To do: attention/link interplay. - // assert_eq!( - // micromark("_[bar_](/url)"), - // "<p>_<a href=\"/url\">bar_</a></p>", - // "should not mismatch inside links (1)" - // ); + assert_eq!( + micromark("_[bar_](/url)"), + "<p>_<a href=\"/url\">bar_</a></p>", + "should not mismatch inside links (1)" + ); assert_eq!( micromark_with_options("*<img src=\"foo\" title=\"*\"/>", DANGER), |