From 8e5611442e93b7a89ff47c2d3e19ceb3d6b75f25 Mon Sep 17 00:00:00 2001 From: ivan770 Date: Mon, 29 Mar 2021 16:52:30 +0300 Subject: Update crates/ide_assists/src/handlers/remove_dbg.rs Apply standard test style fixes Co-authored-by: Aleksey Kladov --- crates/ide_assists/src/handlers/remove_dbg.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'crates/ide_assists/src') diff --git a/crates/ide_assists/src/handlers/remove_dbg.rs b/crates/ide_assists/src/handlers/remove_dbg.rs index 46033fc12..2bf005913 100644 --- a/crates/ide_assists/src/handlers/remove_dbg.rs +++ b/crates/ide_assists/src/handlers/remove_dbg.rs @@ -463,11 +463,15 @@ fn main() { check_assist(remove_dbg, r#"fn foo() { $0dbg!(); }"#, r#"fn foo() { }"#); check_assist( remove_dbg, - r#"fn foo() { -$0dbg!(); -}"#, - r#"fn foo() { -}"#, + r#" +fn foo() { + $0dbg!(); +} +"#, + r#" +fn foo() { +} +"#, ); check_assist( remove_dbg, -- cgit v1.2.3