diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-09 10:55:31 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-09 10:55:31 +0200 |
commit | fafcfd55e5f7ea8b87cab4bbf979730d81749402 (patch) | |
tree | d7fca5a1a98527776f426fee0e69f3bbad2025e2 /tests/misc_line_ending.rs | |
parent | 17d83d974eeb4f1f7516cc9d1c72d76870a0e6d0 (diff) | |
download | markdown-rs-fafcfd55e5f7ea8b87cab4bbf979730d81749402.tar.gz markdown-rs-fafcfd55e5f7ea8b87cab4bbf979730d81749402.tar.bz2 markdown-rs-fafcfd55e5f7ea8b87cab4bbf979730d81749402.zip |
Add more tests for definitions and block quotes
Diffstat (limited to 'tests/misc_line_ending.rs')
-rw-r--r-- | tests/misc_line_ending.rs | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/tests/misc_line_ending.rs b/tests/misc_line_ending.rs index 3d8934d..a8d122e 100644 --- a/tests/misc_line_ending.rs +++ b/tests/misc_line_ending.rs @@ -9,17 +9,9 @@ fn line_ending() { ..Options::default() }; - assert_eq!( - micromark("\n"), - "", - "should support just a line feed" - ); + assert_eq!(micromark("\n"), "", "should support just a line feed"); - assert_eq!( - micromark("\r"), - "", - "should support just a carriage return" - ); + assert_eq!(micromark("\r"), "", "should support just a carriage return"); assert_eq!( micromark("\r\n"), @@ -27,11 +19,7 @@ fn line_ending() { "should support just a carriage return + line feed" ); - assert_eq!( - micromark("\n\n"), - "", - "should support just two line feeds" - ); + assert_eq!(micromark("\n\n"), "", "should support just two line feeds"); assert_eq!( micromark("\r\r"), |