aboutsummaryrefslogtreecommitdiffstats
path: root/tests/heading_setext.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-31 16:50:20 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-31 16:50:20 +0200
commitb1590a4fb0c28fdb6af866ea79c186ea57284493 (patch)
tree61264dc36135e7dae34a04992a99b9f3f71e7b8e /tests/heading_setext.rs
parent670f1d82e01ea2394b21d7d1857f41bdc67b3fce (diff)
downloadmarkdown-rs-b1590a4fb0c28fdb6af866ea79c186ea57284493.tar.gz
markdown-rs-b1590a4fb0c28fdb6af866ea79c186ea57284493.tar.bz2
markdown-rs-b1590a4fb0c28fdb6af866ea79c186ea57284493.zip
Add support for GFM tables
Diffstat (limited to '')
-rw-r--r--tests/heading_setext.rs12
1 files changed, 12 insertions, 0 deletions
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
@@ -258,6 +258,18 @@ fn heading_setext() {
);
assert_eq!(
+ micromark("a\n- ==="),
+ "<p>a</p>\n<ul>\n<li>===</li>\n</ul>",
+ "should not support piercing (1)"
+ );
+
+ assert_eq!(
+ micromark("a\n* ---"),
+ "<p>a</p>\n<ul>\n<li>\n<hr />\n</li>\n</ul>",
+ "should not support piercing (2)"
+ );
+
+ assert_eq!(
micromark_with_options(
"a\n-",
&Options {