File tree Expand file tree Collapse file tree 1 file changed +17
-21
lines changed
crates/ide_assists/src/handlers Expand file tree Collapse file tree 1 file changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -475,33 +475,29 @@ fn foo() {
475475 ) ;
476476 check_assist (
477477 remove_dbg,
478- r#"fn foo() {
479- let test = $0dbg!();
480- }"# ,
481- r#"fn foo() {
482- let test = ();
483- }"# ,
484- ) ;
485- check_assist (
486- remove_dbg,
487- r#"fn foo() {
488- $0dbg!()
478+ r#"
479+ fn foo() {
480+ let test = $0dbg!();
489481}"# ,
490- r#"fn foo() {
482+ r#"
483+ fn foo() {
484+ let test = ();
491485}"# ,
492486 ) ;
493487 check_assist (
494488 remove_dbg,
495- r#"fn foo() {
496- let t = {
497- println!("Hello, world");
498- $0dbg!()
499- };
489+ r#"
490+ fn foo() {
491+ let t = {
492+ println!("Hello, world");
493+ $0dbg!()
494+ };
500495}"# ,
501- r#"fn foo() {
502- let t = {
503- println!("Hello, world");
504- };
496+ r#"
497+ fn foo() {
498+ let t = {
499+ println!("Hello, world");
500+ };
505501}"# ,
506502 ) ;
507503 }
You can’t perform that action at this time.
0 commit comments