diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-26 16:37:13 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-26 16:37:13 +0200 |
commit | a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6 (patch) | |
tree | fd7be2fe6d7355d3aafaf8b731f0e0b48624debc /tests/hard_break_trailing.rs | |
parent | 297784cb925b1196d89479fa24c898703ae598d6 (diff) | |
download | markdown-rs-a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6.tar.gz markdown-rs-a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6.tar.bz2 markdown-rs-a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6.zip |
Refactor to drastically improve perf around whitespace
Diffstat (limited to '')
-rw-r--r-- | tests/hard_break_trailing.rs | 6 |
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" |