move testing functions

This commit is contained in:
Aleksey Kladov 2019-02-24 21:54:13 +03:00
parent 98510ec5d3
commit d5f6a5f5e2
10 changed files with 14 additions and 20 deletions

View file

@ -36,8 +36,7 @@ fn ${1:feature}() {
#[cfg(test)]
mod tests {
use crate::completion::CompletionKind;
use crate::completion::completion_item::check_completion;
use crate::completion::{CompletionKind, check_completion};
fn check_snippet_completion(name: &str, code: &str) {
check_completion(name, code, CompletionKind::Snippet);