Move test_utils into tests module

This commit is contained in:
Lukas Wirth 2021-06-16 21:45:02 +02:00
parent 11115ebad8
commit aa644b5585
26 changed files with 194 additions and 238 deletions

View file

@ -307,12 +307,12 @@ mod tests {
use expect_test::{expect, Expect};
use crate::{
test_utils::{check_edit, completion_list},
tests::{check_edit, filtered_completion_list},
CompletionKind,
};
fn check(ra_fixture: &str, expect: Expect) {
let actual = completion_list(ra_fixture, CompletionKind::Postfix);
let actual = filtered_completion_list(ra_fixture, CompletionKind::Postfix);
expect.assert_eq(&actual)
}