mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Cleanup test
This commit is contained in:
parent
0f324bac6b
commit
2dc67c85b9
@ -270,27 +270,28 @@ fn foo() {
|
||||
|
||||
#[test]
|
||||
fn test_join_lines_diverging_block() {
|
||||
let before = r"
|
||||
fn foo() {
|
||||
loop {
|
||||
match x {
|
||||
92 => $0{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
check_join_lines(
|
||||
r"
|
||||
fn foo() {
|
||||
loop {
|
||||
match x {
|
||||
92 => $0{
|
||||
continue;
|
||||
}
|
||||
";
|
||||
let after = r"
|
||||
fn foo() {
|
||||
loop {
|
||||
match x {
|
||||
92 => $0continue,
|
||||
}
|
||||
}
|
||||
}
|
||||
";
|
||||
check_join_lines(before, after);
|
||||
}
|
||||
}
|
||||
}
|
||||
",
|
||||
r"
|
||||
fn foo() {
|
||||
loop {
|
||||
match x {
|
||||
92 => $0continue,
|
||||
}
|
||||
}
|
||||
}
|
||||
",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user