aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_fenced.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/code_fenced.rs')
-rw-r--r--tests/code_fenced.rs22
1 files changed, 10 insertions, 12 deletions
diff --git a/tests/code_fenced.rs b/tests/code_fenced.rs
index d970c94..84d0d83 100644
--- a/tests/code_fenced.rs
+++ b/tests/code_fenced.rs
@@ -3,19 +3,17 @@ use micromark::micromark;
#[test]
fn code_fenced() {
- // To do: concrete constructs (code fenced).
- // assert_eq!(
- // micromark("```\n<\n >\n```"),
- // "<pre><code>&lt;\n &gt;\n</code></pre>",
- // "should support fenced code w/ grave accents"
- // );
+ assert_eq!(
+ micromark("```\n<\n >\n```"),
+ "<pre><code>&lt;\n &gt;\n</code></pre>",
+ "should support fenced code w/ grave accents"
+ );
- // To do: concrete constructs (code fenced).
- // assert_eq!(
- // micromark("~~~\n<\n >\n~~~"),
- // "<pre><code>&lt;\n &gt;\n</code></pre>",
- // "should support fenced code w/ tildes"
- // );
+ assert_eq!(
+ micromark("~~~\n<\n >\n~~~"),
+ "<pre><code>&lt;\n &gt;\n</code></pre>",
+ "should support fenced code w/ tildes"
+ );
assert_eq!(
micromark("``\nfoo\n``"),