mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-16 01:38:13 +00:00
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:
parent
665266bf66
commit
8e5611442e
1 changed files with 9 additions and 5 deletions
|
@ -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() {
|
||||
}"#,
|
||||
r#"
|
||||
fn foo() {
|
||||
$0dbg!();
|
||||
}
|
||||
"#,
|
||||
r#"
|
||||
fn foo() {
|
||||
}
|
||||
"#,
|
||||
);
|
||||
check_assist(
|
||||
remove_dbg,
|
||||
|
|
Loading…
Reference in a new issue