diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ide/src/goto_definition.rs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/crates/ide/src/goto_definition.rs b/crates/ide/src/goto_definition.rs index 9c7b360bb..1a997fa40 100644 --- a/crates/ide/src/goto_definition.rs +++ b/crates/ide/src/goto_definition.rs | |||
@@ -162,12 +162,12 @@ mod tests { | |||
162 | fn goto_def_for_extern_crate() { | 162 | fn goto_def_for_extern_crate() { |
163 | check( | 163 | check( |
164 | r#" | 164 | r#" |
165 | //- /main.rs crate:main deps:std | 165 | //- /main.rs crate:main deps:std |
166 | extern crate std$0; | 166 | extern crate std$0; |
167 | //- /std/lib.rs crate:std | 167 | //- /std/lib.rs crate:std |
168 | // empty | 168 | // empty |
169 | //^ file | 169 | //^ file |
170 | "#, | 170 | "#, |
171 | ) | 171 | ) |
172 | } | 172 | } |
173 | 173 | ||
@@ -175,12 +175,12 @@ mod tests { | |||
175 | fn goto_def_for_renamed_extern_crate() { | 175 | fn goto_def_for_renamed_extern_crate() { |
176 | check( | 176 | check( |
177 | r#" | 177 | r#" |
178 | //- /main.rs crate:main deps:std | 178 | //- /main.rs crate:main deps:std |
179 | extern crate std as abc$0; | 179 | extern crate std as abc$0; |
180 | //- /std/lib.rs crate:std | 180 | //- /std/lib.rs crate:std |
181 | // empty | 181 | // empty |
182 | //^ file | 182 | //^ file |
183 | "#, | 183 | "#, |
184 | ) | 184 | ) |
185 | } | 185 | } |
186 | 186 | ||