Unindent the test

This commit is contained in:
Kirill Bulatov 2021-01-16 19:51:42 +02:00
parent 7ae1309ac5
commit 497fc232e7

View file

@ -262,8 +262,8 @@ fn main() {
fn does_not_propose_names_in_scope() { fn does_not_propose_names_in_scope() {
check( check(
r#" r#"
//- /lib.rs crate:dep //- /lib.rs crate:dep
pub mod test_mod { pub mod test_mod {
pub trait TestTrait { pub trait TestTrait {
const SPECIAL_CONST: u8; const SPECIAL_CONST: u8;
type HumbleType; type HumbleType;
@ -277,14 +277,14 @@ fn main() {
fn weird_function() {} fn weird_function() {}
fn random_method(&self) {} fn random_method(&self) {}
} }
} }
//- /main.rs crate:main deps:dep //- /main.rs crate:main deps:dep
use dep::test_mod::TestStruct; use dep::test_mod::TestStruct;
fn main() { fn main() {
TestSt$0 TestSt$0
} }
"#, "#,
expect![[r#""#]], expect![[r#""#]],
); );
} }