mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Cleanup tests
This commit is contained in:
parent
2c786f1b98
commit
f67a2eedf5
1 changed files with 12 additions and 12 deletions
|
@ -162,12 +162,12 @@ mod tests {
|
||||||
fn goto_def_for_extern_crate() {
|
fn goto_def_for_extern_crate() {
|
||||||
check(
|
check(
|
||||||
r#"
|
r#"
|
||||||
//- /main.rs crate:main deps:std
|
//- /main.rs crate:main deps:std
|
||||||
extern crate std$0;
|
extern crate std$0;
|
||||||
//- /std/lib.rs crate:std
|
//- /std/lib.rs crate:std
|
||||||
// empty
|
// empty
|
||||||
//^ file
|
//^ file
|
||||||
"#,
|
"#,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,12 +175,12 @@ mod tests {
|
||||||
fn goto_def_for_renamed_extern_crate() {
|
fn goto_def_for_renamed_extern_crate() {
|
||||||
check(
|
check(
|
||||||
r#"
|
r#"
|
||||||
//- /main.rs crate:main deps:std
|
//- /main.rs crate:main deps:std
|
||||||
extern crate std as abc$0;
|
extern crate std as abc$0;
|
||||||
//- /std/lib.rs crate:std
|
//- /std/lib.rs crate:std
|
||||||
// empty
|
// empty
|
||||||
//^ file
|
//^ file
|
||||||
"#,
|
"#,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue