aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_indented.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/code_indented.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/code_indented.rs b/tests/code_indented.rs
index f21d761..a7afb21 100644
--- a/tests/code_indented.rs
+++ b/tests/code_indented.rs
@@ -53,12 +53,11 @@ fn code_indented() {
"should support paragraphs directly after indented code"
);
- // To do: setext.
- // assert_eq!(
- // micromark("# Heading\n foo\nHeading\n------\n foo\n----"),
- // "<h1>Heading</h1>\n<pre><code>foo\n</code></pre>\n<h2>Heading</h2>\n<pre><code>foo\n</code></pre>\n<hr />",
- // "should mix w/ other content"
- // );
+ assert_eq!(
+ micromark("# Heading\n foo\nHeading\n------\n foo\n----"),
+ "<h1>Heading</h1>\n<pre><code>foo\n</code></pre>\n<h2>Heading</h2>\n<pre><code>foo\n</code></pre>\n<hr />",
+ "should mix w/ other content"
+ );
assert_eq!(
micromark(" foo\n bar"),