mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
move testing functions
This commit is contained in:
parent
98510ec5d3
commit
d5f6a5f5e2
10 changed files with 14 additions and 20 deletions
|
@ -57,13 +57,10 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::completion::{
|
||||
CompletionKind,
|
||||
completion_item::{check_completion, do_completion},
|
||||
};
|
||||
|
||||
use test_utils::covers;
|
||||
|
||||
use crate::completion::{CompletionKind, check_completion, do_completion};
|
||||
|
||||
fn check_reference_completion(code: &str, expected_completions: &str) {
|
||||
check_completion(code, expected_completions, CompletionKind::Reference);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue