Skip to content

Commit cb9d904

Browse files
committed
Cleanup test
1 parent bba374b commit cb9d904

File tree

1 file changed

+12
-50
lines changed
  • crates/rust-analyzer/tests/heavy_tests

1 file changed

+12
-50
lines changed

crates/rust-analyzer/tests/heavy_tests/main.rs

Lines changed: 12 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,6 @@ fn main() {
523523
let vb = B;
524524
message();
525525
}
526-
527-
fn main() { message(); }
528526
"###,
529527
)
530528
.with_config(|config| {
@@ -552,34 +550,16 @@ fn main() { message(); }
552550
},
553551
json!([{
554552
"originSelectionRange": {
555-
"end": {
556-
"character": 10,
557-
"line": 12
558-
},
559-
"start": {
560-
"character": 8,
561-
"line": 12
562-
}
553+
"end": { "character": 10, "line": 12 },
554+
"start": { "character": 8, "line": 12 }
563555
},
564556
"targetRange": {
565-
"end": {
566-
"character": 9,
567-
"line": 3
568-
},
569-
"start": {
570-
"character": 0,
571-
"line": 2
572-
}
557+
"end": { "character": 9, "line": 3 },
558+
"start": { "character": 0, "line": 2 }
573559
},
574560
"targetSelectionRange": {
575-
"end": {
576-
"character": 8,
577-
"line": 3
578-
},
579-
"start": {
580-
"character": 7,
581-
"line": 3
582-
}
561+
"end": { "character": 8, "line": 3 },
562+
"start": { "character": 7, "line": 3 }
583563
},
584564
"targetUri": "file:///[..]src/main.rs"
585565
}]),
@@ -595,34 +575,16 @@ fn main() { message(); }
595575
},
596576
json!([{
597577
"originSelectionRange": {
598-
"end": {
599-
"character": 10,
600-
"line": 13
601-
},
602-
"start": {
603-
"character": 8,
604-
"line":13
605-
}
578+
"end": { "character": 10, "line": 13 },
579+
"start": { "character": 8, "line":13 }
606580
},
607581
"targetRange": {
608-
"end": {
609-
"character": 9,
610-
"line": 7
611-
},
612-
"start": {
613-
"character": 0,
614-
"line":6
615-
}
582+
"end": { "character": 9, "line": 7 },
583+
"start": { "character": 0, "line":6 }
616584
},
617585
"targetSelectionRange": {
618-
"end": {
619-
"character": 8,
620-
"line": 7
621-
},
622-
"start": {
623-
"character": 7,
624-
"line": 7
625-
}
586+
"end": { "character": 8, "line": 7 },
587+
"start": { "character": 7, "line": 7 }
626588
},
627589
"targetUri": "file:///[..]src/main.rs"
628590
}]),

0 commit comments

Comments
 (0)