From b1590a4fb0c28fdb6af866ea79c186ea57284493 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 31 Aug 2022 16:50:20 +0200 Subject: Add support for GFM tables --- tests/heading_setext.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/heading_setext.rs') diff --git a/tests/heading_setext.rs b/tests/heading_setext.rs index 22155f0..fa979be 100644 --- a/tests/heading_setext.rs +++ b/tests/heading_setext.rs @@ -257,6 +257,18 @@ fn heading_setext() { "should not support lazyness (2)" ); + assert_eq!( + micromark("a\n- ==="), + "

a

\n", + "should not support piercing (1)" + ); + + assert_eq!( + micromark("a\n* ---"), + "

a

\n", + "should not support piercing (2)" + ); + assert_eq!( micromark_with_options( "a\n-", -- cgit