From faca28020f4894bdfcf5a4b164ebbc75864d8776 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 4 Jul 2022 12:16:51 +0200 Subject: Add support for attention (emphasis, strong) --- tests/heading_atx.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/heading_atx.rs') diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs index ef5846a..c9aa803 100644 --- a/tests/heading_atx.rs +++ b/tests/heading_atx.rs @@ -62,12 +62,11 @@ fn heading_atx() { "should not support a heading for an escaped number sign" ); - // To do: attention. - // assert_eq!( - // micromark("# foo *bar* \\*baz\\*"), - // "

foo bar *baz*

", - // "should support text content in headings" - // ); + assert_eq!( + micromark("# foo *bar* \\*baz\\*"), + "

foo bar *baz*

", + "should support text content in headings" + ); assert_eq!( micromark("# foo "), -- cgit