Skip to content

Commit 8e56114

Browse files
ivan770matklad
andauthored
Update crates/ide_assists/src/handlers/remove_dbg.rs
Apply standard test style fixes Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
1 parent 665266b commit 8e56114

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

crates/ide_assists/src/handlers/remove_dbg.rs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,15 @@ fn main() {
463463
check_assist(remove_dbg, r#"fn foo() { $0dbg!(); }"#, r#"fn foo() { }"#);
464464
check_assist(
465465
remove_dbg,
466-
r#"fn foo() {
467-
$0dbg!();
468-
}"#,
469-
r#"fn foo() {
470-
}"#,
466+
r#"
467+
fn foo() {
468+
$0dbg!();
469+
}
470+
"#,
471+
r#"
472+
fn foo() {
473+
}
474+
"#,
471475
);
472476
check_assist(
473477
remove_dbg,

0 commit comments

Comments
 (0)