aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorivan770 <[email protected]>2021-03-29 14:52:30 +0100
committerGitHub <[email protected]>2021-03-29 14:52:30 +0100
commit8e5611442e93b7a89ff47c2d3e19ceb3d6b75f25 (patch)
treeee930f24b47e1953b959a2f1515d2e32453da6d3 /crates
parent665266bf66d3702880ca8a0e84c42a80c37342a8 (diff)
Update crates/ide_assists/src/handlers/remove_dbg.rs
Apply standard test style fixes Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r--crates/ide_assists/src/handlers/remove_dbg.rs14
1 files changed, 9 insertions, 5 deletions
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() {
463 check_assist(remove_dbg, r#"fn foo() { $0dbg!(); }"#, r#"fn foo() { }"#); 463 check_assist(remove_dbg, r#"fn foo() { $0dbg!(); }"#, r#"fn foo() { }"#);
464 check_assist( 464 check_assist(
465 remove_dbg, 465 remove_dbg,
466 r#"fn foo() { 466 r#"
467$0dbg!(); 467fn foo() {
468}"#, 468 $0dbg!();
469 r#"fn foo() { 469}
470}"#, 470"#,
471 r#"
472fn foo() {
473}
474"#,
471 ); 475 );
472 check_assist( 476 check_assist(
473 remove_dbg, 477 remove_dbg,