mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
move testing functions
This commit is contained in:
parent
98510ec5d3
commit
d5f6a5f5e2
10 changed files with 14 additions and 20 deletions
|
@ -56,8 +56,7 @@ pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::completion::completion_item::CompletionKind;
|
||||
use crate::completion::completion_item::check_completion;
|
||||
use crate::completion::{CompletionKind, check_completion};
|
||||
|
||||
fn check_snippet_completion(test_name: &str, code: &str) {
|
||||
check_completion(test_name, code, CompletionKind::Postfix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue