aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,