aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_fenced.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/code_fenced.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/code_fenced.rs b/tests/code_fenced.rs
index 82ac088..0e19637 100644
--- a/tests/code_fenced.rs
+++ b/tests/code_fenced.rs
@@ -136,12 +136,11 @@ fn code_fenced() {
"should support interrupting paragraphs"
);
- // To do: setext.
- // assert_eq!(
- // micromark("foo\n---\n~~~\nbar\n~~~\n# baz"),
- // "<h2>foo</h2>\n<pre><code>bar\n</code></pre>\n<h1>baz</h1>",
- // "should support interrupting other content"
- // );
+ assert_eq!(
+ micromark("foo\n---\n~~~\nbar\n~~~\n# baz"),
+ "<h2>foo</h2>\n<pre><code>bar\n</code></pre>\n<h1>baz</h1>",
+ "should support interrupting other content"
+ );
assert_eq!(
micromark("```ruby\ndef foo(x)\n return 3\nend\n```"),