move completion item tests closer to the code

this is the reason why we need marks: the tests were spread across two
files, because I've forgotten that there were tests already
This commit is contained in:
Aleksey Kladov 2019-01-23 16:05:13 +03:00
parent 86507c0626
commit 2dbf58c579
7 changed files with 72 additions and 47 deletions

View file

@ -8,8 +8,6 @@
pub mod db;
#[cfg(test)]
mod mock;
#[cfg(test)]
mod marks;
mod query_definitions;
mod path;
pub mod source_binder;
@ -29,6 +27,9 @@ mod generics;
mod code_model_api;
mod code_model_impl;
#[cfg(test)]
mod marks;
use crate::{
db::HirDatabase,
name::{AsName, KnownName},

View file

@ -1 +1,3 @@
test_utils::mark!(name_res_works_for_broken_modules);
use test_utils::mark;
mark!(name_res_works_for_broken_modules);