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_reference.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/character_reference.rs') diff --git a/tests/character_reference.rs b/tests/character_reference.rs index 3d2111e..3951e00 100644 --- a/tests/character_reference.rs +++ b/tests/character_reference.rs @@ -61,12 +61,11 @@ fn character_reference() { "should support character references in resource URLs and titles" ); - // To do: link (reference). - // assert_eq!( - // micromark("[foo]: /föö \"föö\"\n\n[foo]"), - // "

foo

", - // "should support character references in definition URLs and titles" - // ); + assert_eq!( + micromark("[foo]: /föö \"föö\"\n\n[foo]"), + "

foo

", + "should support character references in definition URLs and titles" + ); assert_eq!( micromark("``` föö\nfoo\n```"), -- cgit