From aa644b55859c6b5c6695a5d4fb35d1b6efbbebcc Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 16 Jun 2021 21:45:02 +0200 Subject: Move test_utils into tests module --- crates/ide_completion/src/completions/record.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ide_completion/src/completions/record.rs') diff --git a/crates/ide_completion/src/completions/record.rs b/crates/ide_completion/src/completions/record.rs index 0ac47cdbe..47523f72f 100644 --- a/crates/ide_completion/src/completions/record.rs +++ b/crates/ide_completion/src/completions/record.rs @@ -51,17 +51,17 @@ mod tests { use ide_db::helpers::FamousDefs; use crate::{ - test_utils::{self, completion_list}, + tests::{self, filtered_completion_list}, CompletionKind, }; fn check(ra_fixture: &str, expect: Expect) { - let actual = completion_list(ra_fixture, CompletionKind::Reference); + let actual = filtered_completion_list(ra_fixture, CompletionKind::Reference); expect.assert_eq(&actual); } fn check_snippet(ra_fixture: &str, expect: Expect) { - let actual = completion_list( + let actual = filtered_completion_list( &format!("//- /main.rs crate:main deps:core\n{}\n{}", ra_fixture, FamousDefs::FIXTURE), CompletionKind::Snippet, ); @@ -69,7 +69,7 @@ mod tests { } fn check_edit(what: &str, ra_fixture_before: &str, ra_fixture_after: &str) { - test_utils::check_edit( + tests::check_edit( what, &format!( "//- /main.rs crate:main deps:core{}\n{}", -- cgit v1.2.3