aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/main.rs62
1 files changed, 12 insertions, 50 deletions
diff --git a/crates/rust-analyzer/tests/heavy_tests/main.rs b/crates/rust-analyzer/tests/heavy_tests/main.rs
index ad3476310..237aaa2a1 100644
--- a/crates/rust-analyzer/tests/heavy_tests/main.rs
+++ b/crates/rust-analyzer/tests/heavy_tests/main.rs
@@ -523,8 +523,6 @@ fn main() {
523 let vb = B; 523 let vb = B;
524 message(); 524 message();
525} 525}
526
527fn main() { message(); }
528"###, 526"###,
529 ) 527 )
530 .with_config(|config| { 528 .with_config(|config| {
@@ -552,34 +550,16 @@ fn main() { message(); }
552 }, 550 },
553 json!([{ 551 json!([{
554 "originSelectionRange": { 552 "originSelectionRange": {
555 "end": { 553 "end": { "character": 10, "line": 12 },
556 "character": 10, 554 "start": { "character": 8, "line": 12 }
557 "line": 12
558 },
559 "start": {
560 "character": 8,
561 "line": 12
562 }
563 }, 555 },
564 "targetRange": { 556 "targetRange": {
565 "end": { 557 "end": { "character": 9, "line": 3 },
566 "character": 9, 558 "start": { "character": 0, "line": 2 }
567 "line": 3
568 },
569 "start": {
570 "character": 0,
571 "line": 2
572 }
573 }, 559 },
574 "targetSelectionRange": { 560 "targetSelectionRange": {
575 "end": { 561 "end": { "character": 8, "line": 3 },
576 "character": 8, 562 "start": { "character": 7, "line": 3 }
577 "line": 3
578 },
579 "start": {
580 "character": 7,
581 "line": 3
582 }
583 }, 563 },
584 "targetUri": "file:///[..]src/main.rs" 564 "targetUri": "file:///[..]src/main.rs"
585 }]), 565 }]),
@@ -595,34 +575,16 @@ fn main() { message(); }
595 }, 575 },
596 json!([{ 576 json!([{
597 "originSelectionRange": { 577 "originSelectionRange": {
598 "end": { 578 "end": { "character": 10, "line": 13 },
599 "character": 10, 579 "start": { "character": 8, "line":13 }
600 "line": 13
601 },
602 "start": {
603 "character": 8,
604 "line":13
605 }
606 }, 580 },
607 "targetRange": { 581 "targetRange": {
608 "end": { 582 "end": { "character": 9, "line": 7 },
609 "character": 9, 583 "start": { "character": 0, "line":6 }
610 "line": 7
611 },
612 "start": {
613 "character": 0,
614 "line":6
615 }
616 }, 584 },
617 "targetSelectionRange": { 585 "targetSelectionRange": {
618 "end": { 586 "end": { "character": 8, "line": 7 },
619 "character": 8, 587 "start": { "character": 7, "line": 7 }
620 "line": 7
621 },
622 "start": {
623 "character": 7,
624 "line": 7
625 }
626 }, 588 },
627 "targetUri": "file:///[..]src/main.rs" 589 "targetUri": "file:///[..]src/main.rs"
628 }]), 590 }]),