aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/goto_definition.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide/src/goto_definition.rs b/crates/ra_ide/src/goto_definition.rs
index a7be92ce3..502fcb0cf 100644
--- a/crates/ra_ide/src/goto_definition.rs
+++ b/crates/ra_ide/src/goto_definition.rs
@@ -100,8 +100,8 @@ mod tests {
100 100
101 use crate::mock_analysis::analysis_and_position; 101 use crate::mock_analysis::analysis_and_position;
102 102
103 fn check_goto(fixture: &str, expected: &str, expected_range: &str) { 103 fn check_goto(ra_fixture: &str, expected: &str, expected_range: &str) {
104 let (analysis, pos) = analysis_and_position(fixture); 104 let (analysis, pos) = analysis_and_position(ra_fixture);
105 105
106 let mut navs = analysis.goto_definition(pos).unwrap().unwrap().info; 106 let mut navs = analysis.goto_definition(pos).unwrap().unwrap().info;
107 assert_eq!(navs.len(), 1); 107 assert_eq!(navs.len(), 1);
@@ -790,8 +790,8 @@ mod tests {
790 #[test] 790 #[test]
791 fn goto_def_in_local_macro() { 791 fn goto_def_in_local_macro() {
792 check_goto( 792 check_goto(
793 " 793 r"
794 //- /lib.rs 794 //- /lib.rs
795 fn bar() { 795 fn bar() {
796 macro_rules! foo { () => { () } } 796 macro_rules! foo { () => { () } }
797 <|>foo!(); 797 <|>foo!();