aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-26 16:37:13 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-26 16:37:13 +0200
commita6b317ac7fbc95b8584056b3cebffbf9d1bba2c6 (patch)
treefd7be2fe6d7355d3aafaf8b731f0e0b48624debc /tests
parent297784cb925b1196d89479fa24c898703ae598d6 (diff)
downloadmarkdown-rs-a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6.tar.gz
markdown-rs-a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6.tar.bz2
markdown-rs-a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6.zip
Refactor to drastically improve perf around whitespace
Diffstat (limited to 'tests')
-rw-r--r--tests/hard_break_trailing.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/hard_break_trailing.rs b/tests/hard_break_trailing.rs
index 2013c46..2f75084 100644
--- a/tests/hard_break_trailing.rs
+++ b/tests/hard_break_trailing.rs
@@ -28,12 +28,6 @@ fn hard_break_trailing() {
);
assert_eq!(
- micromark("*foo\\\nbar*"),
- "<p><em>foo<br />\nbar</em></p>",
- "should support escape hard breaks in emphasis"
- );
-
- assert_eq!(
micromark("`code \ntext`"),
"<p><code>code text</code></p>",
"should not support trailing hard breaks in code"