aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_escape.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/character_escape.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/character_escape.rs b/tests/character_escape.rs
index 3e3e839..26e9336 100644
--- a/tests/character_escape.rs
+++ b/tests/character_escape.rs
@@ -67,12 +67,11 @@ fn character_escape() {
"should escape in resource and title"
);
- // To do: link (reference).
- // assert_eq!(
- // micromark("[foo]: /bar\\* \"ti\\*tle\"\n\n[foo]"),
- // "<p><a href=\"/bar*\" title=\"ti*tle\">foo</a></p>",
- // "should escape in definition resource and title"
- // );
+ assert_eq!(
+ micromark("[foo]: /bar\\* \"ti\\*tle\"\n\n[foo]"),
+ "<p><a href=\"/bar*\" title=\"ti*tle\">foo</a></p>",
+ "should escape in definition resource and title"
+ );
assert_eq!(
micromark("``` foo\\+bar\nfoo\n```"),