From f67a2eedf5118990a9aa17c307176b8b355e9759 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 22 Jan 2021 15:13:18 +0300 Subject: Cleanup tests --- crates/ide/src/goto_definition.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'crates') 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 { fn goto_def_for_extern_crate() { check( r#" - //- /main.rs crate:main deps:std - extern crate std$0; - //- /std/lib.rs crate:std - // empty - //^ file - "#, +//- /main.rs crate:main deps:std +extern crate std$0; +//- /std/lib.rs crate:std +// empty +//^ file +"#, ) } @@ -175,12 +175,12 @@ mod tests { fn goto_def_for_renamed_extern_crate() { check( r#" - //- /main.rs crate:main deps:std - extern crate std as abc$0; - //- /std/lib.rs crate:std - // empty - //^ file - "#, +//- /main.rs crate:main deps:std +extern crate std as abc$0; +//- /std/lib.rs crate:std +// empty +//^ file +"#, ) } -- cgit v1.2.3