mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
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:
parent
86507c0626
commit
2dbf58c579
7 changed files with 72 additions and 47 deletions
|
@ -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},
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
test_utils::mark!(name_res_works_for_broken_modules);
|
||||
use test_utils::mark;
|
||||
|
||||
mark!(name_res_works_for_broken_modules);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue