From 2f59943c04f0aa204a9238d6a699ba9cc06c88d9 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 31 Dec 2019 16:23:25 -0800 Subject: [PATCH] rustfmt with 1.40 Some slight changes in formatting in 1.40. --- src/utils/mod.rs | 6 ++---- tests/rendered_output.rs | 15 +++++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/utils/mod.rs b/src/utils/mod.rs index eb65fe87..edb9aab4 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -358,8 +358,7 @@ more text with spaces ``` "#; - let expected = - r#"
+ let expected = r#"
"#; assert_eq!(render_markdown(input, false), expected); assert_eq!(render_markdown(input, true), expected); @@ -372,8 +371,7 @@ more text with spaces ``` "#; - let expected = - r#"
+ let expected = r#"
"#; assert_eq!(render_markdown(input, false), expected); assert_eq!(render_markdown(input, true), expected); diff --git a/tests/rendered_output.rs b/tests/rendered_output.rs index 95ff8594..b041d3bc 100644 --- a/tests/rendered_output.rs +++ b/tests/rendered_output.rs @@ -490,12 +490,15 @@ fn markdown_options() { "bim", ], ); - assert_contains_strings(&path, &[ - r##"1"##, - r##"2"##, - r##"
1"##, - r##"
2"##, - ]); + assert_contains_strings( + &path, + &[ + r##"1"##, + r##"2"##, + r##"
1"##, + r##"
2"##, + ], + ); assert_contains_strings(&path, &["strikethrough example"]); assert_contains_strings( &path,