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 5e71792..e351088 100644
--- a/tests/character_reference.rs
+++ b/tests/character_reference.rs
@@ -74,12 +74,11 @@ fn character_reference() {
"should support character references in code language"
);
- // To do: code (text).
- // assert_eq!(
- // micromark("`föö`"),
- // "<p><code>f&amp;ouml;&amp;ouml;</code></p>",
- // "should not support character references in text code"
- // );
+ assert_eq!(
+ micromark("`f&ouml;&ouml;`"),
+ "<p><code>f&amp;ouml;&amp;ouml;</code></p>",
+ "should not support character references in text code"
+ );
assert_eq!(
micromark(" f&ouml;f&ouml;"),