aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_reference.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/character_reference.rs')
-rw-r--r--tests/character_reference.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/character_reference.rs b/tests/character_reference.rs
index 77cae3f..fe69a3e 100644
--- a/tests/character_reference.rs
+++ b/tests/character_reference.rs
@@ -91,12 +91,11 @@ fn character_reference() {
"should not support character references as construct markers (1)"
);
- // To do: list (ordered vs unordered).
- // assert_eq!(
- // micromark("* foo\n\n* foo"),
- // "<p>* foo</p>\n<ul>\n<li>foo</li>\n</ul>",
- // "should not support character references as construct markers (2)"
- // );
+ assert_eq!(
+ micromark("&#42; foo\n\n* foo"),
+ "<p>* foo</p>\n<ul>\n<li>foo</li>\n</ul>",
+ "should not support character references as construct markers (2)"
+ );
assert_eq!(
micromark("[a](url &quot;tit&quot;)"),