One more test

This commit is contained in:
Kirill Bulatov 2020-09-10 01:58:29 +03:00
parent 9863798480
commit 492e3c40f6

View file

@ -180,6 +180,21 @@ mod tests {
);
}
#[test]
fn no_module_completion_with_module_body() {
check(
r#"
//- /lib.rs
mod <|> {
}
//- /foo.rs
fn foo() {}
"#,
expect![[r#""#]],
);
}
#[test]
fn main_module_completion() {
check(