From bd0cb0d0395abb06941960938aacc3639148a96c Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 8 Jul 2022 10:51:45 +0200 Subject: Add support for concrete constructs --- tests/code_fenced.rs | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'tests/code_fenced.rs') diff --git a/tests/code_fenced.rs b/tests/code_fenced.rs index d970c94..84d0d83 100644 --- a/tests/code_fenced.rs +++ b/tests/code_fenced.rs @@ -3,19 +3,17 @@ use micromark::micromark; #[test] fn code_fenced() { - // To do: concrete constructs (code fenced). - // assert_eq!( - // micromark("```\n<\n >\n```"), - // "
<\n >\n
", - // "should support fenced code w/ grave accents" - // ); + assert_eq!( + micromark("```\n<\n >\n```"), + "
<\n >\n
", + "should support fenced code w/ grave accents" + ); - // To do: concrete constructs (code fenced). - // assert_eq!( - // micromark("~~~\n<\n >\n~~~"), - // "
<\n >\n
", - // "should support fenced code w/ tildes" - // ); + assert_eq!( + micromark("~~~\n<\n >\n~~~"), + "
<\n >\n
", + "should support fenced code w/ tildes" + ); assert_eq!( micromark("``\nfoo\n``"), -- cgit