From fa37356074c1bc3a0f74b6f6a22e038b7842ff4d Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 29 Jun 2022 16:14:32 +0200 Subject: Add support for compiling definitions --- tests/character_escape.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/character_escape.rs') 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]"), - // "

foo

", - // "should escape in definition resource and title" - // ); + assert_eq!( + micromark("[foo]: /bar\\* \"ti\\*tle\"\n\n[foo]"), + "

foo

", + "should escape in definition resource and title" + ); assert_eq!( micromark("``` foo\\+bar\nfoo\n```"), -- cgit