diff options
Diffstat (limited to 'tests/character_escape.rs')
-rw-r--r-- | tests/character_escape.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/character_escape.rs b/tests/character_escape.rs index aae0b58..c81760d 100644 --- a/tests/character_escape.rs +++ b/tests/character_escape.rs @@ -30,12 +30,11 @@ fn character_escape() { "should escape other constructs" ); - // To do: hard break. - // assert_eq!( - // micromark("foo\\\nbar"), - // "<p>foo<br />\nbar</p>", - // "should escape a line break" - // ); + assert_eq!( + micromark("foo\\\nbar"), + "<p>foo<br />\nbar</p>", + "should escape a line break" + ); assert_eq!( micromark("`` \\[\\` ``"), |