One more test
This commit is contained in:
parent
9863798480
commit
492e3c40f6
1 changed files with 15 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue