Update crates/ide_assists/src/handlers/remove_dbg.rs

Apply standard test style fixes

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
ivan770 2021-03-29 16:52:30 +03:00 committed by GitHub
parent 665266bf66
commit 8e5611442e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() { }"#);
check_assist( check_assist(
remove_dbg, remove_dbg,
r#"fn foo() { r#"
$0dbg!(); fn foo() {
}"#, $0dbg!();
r#"fn foo() { }
}"#, "#,
r#"
fn foo() {
}
"#,
); );
check_assist( check_assist(
remove_dbg, remove_dbg,