From b080e79a2fdb3c52ad76197eec9278ea0b3b40d0 Mon Sep 17 00:00:00 2001 From: topecongiro Date: Sat, 24 Feb 2018 01:18:53 +0900 Subject: [PATCH] Cargo fmt --- rustfmt-core/tests/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rustfmt-core/tests/lib.rs b/rustfmt-core/tests/lib.rs index f219cf3212b..b15dc417106 100644 --- a/rustfmt-core/tests/lib.rs +++ b/rustfmt-core/tests/lib.rs @@ -623,8 +623,10 @@ fn get_section>( file: &mut Enumerate, ) -> Option { lazy_static! { - static ref CONFIG_NAME_REGEX: regex::Regex = regex::Regex::new(r"^## `([^`]+)`").expect("Failed creating configuration pattern"); - static ref CONFIG_VALUE_REGEX: regex::Regex = regex::Regex::new(r#"^#### `"?([^`"]+)"?`"#).expect("Failed creating configuration value pattern"); + static ref CONFIG_NAME_REGEX: regex::Regex = + regex::Regex::new(r"^## `([^`]+)`").expect("Failed creating configuration pattern"); + static ref CONFIG_VALUE_REGEX: regex::Regex = regex::Regex::new(r#"^#### `"?([^`"]+)"?`"#) + .expect("Failed creating configuration value pattern"); } loop { -- 2.44.0