aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_escape.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 18:17:01 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 18:17:01 +0200
commitacc35758778bfda5cb01951533868eb8baa2e2d2 (patch)
tree82ded1c1f88d04a1c37e40822ad7e5a6bba8a717 /tests/character_escape.rs
parent75dcb48f78a8a798fde525d2d39e20cffec48e50 (diff)
downloadmarkdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.tar.gz
markdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.tar.bz2
markdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.zip
Add code (text)
Diffstat (limited to 'tests/character_escape.rs')
-rw-r--r--tests/character_escape.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/character_escape.rs b/tests/character_escape.rs
index 5fdc445..aae0b58 100644
--- a/tests/character_escape.rs
+++ b/tests/character_escape.rs
@@ -37,12 +37,11 @@ fn character_escape() {
// "should escape a line break"
// );
- // To do: code (text).
- // assert_eq!(
- // micromark("`` \\[\\` ``"),
- // "<p><code>\\[\\`</code></p>",
- // "should not escape in text code"
- // );
+ assert_eq!(
+ micromark("`` \\[\\` ``"),
+ "<p><code>\\[\\`</code></p>",
+ "should not escape in text code"
+ );
assert_eq!(
micromark(" \\[\\]"),