Some cleanup and additional tests
This commit is contained in:
@@ -65,6 +65,17 @@ mod tests {
|
||||
check_completion(code, expected_completions, CompletionKind::Reference);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore] // should not complete foo, which currently doesn't work
|
||||
fn dont_complete_current_use() {
|
||||
check_reference_completion(
|
||||
"dont_complete_current_use",
|
||||
r"
|
||||
use self::foo<|>;
|
||||
",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn completes_mod_with_docs() {
|
||||
check_reference_completion(
|
||||
|
||||
Reference in New Issue
Block a user