aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_line_ending.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc_line_ending.rs')
-rw-r--r--tests/misc_line_ending.rs18
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"),