aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-01-22 12:13:18 +0000
committerAleksey Kladov <[email protected]>2021-01-22 12:13:18 +0000
commitf67a2eedf5118990a9aa17c307176b8b355e9759 (patch)
tree678df978d7e85be8befd9336035a8724e97b623c /crates
parent2c786f1b9835499f76dc67a72379a95c7c5cb21f (diff)
Cleanup tests
Diffstat (limited to 'crates')
-rw-r--r--crates/ide/src/goto_definition.rs24
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; 166extern 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; 179extern 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