don't create many compilation units for tests

This commit is contained in:
Aleksey Kladov 2019-01-03 20:15:12 +03:00
parent 8a24f25482
commit cd32177a25
3 changed files with 5 additions and 13 deletions

View file

@ -1,3 +1,6 @@
mod runnables;
mod type_of;
use ra_syntax::TextRange;
use test_utils::{assert_eq_dbg, assert_eq_text};

View file

@ -1,15 +1,6 @@
extern crate ra_analysis;
extern crate ra_editor;
extern crate ra_syntax;
extern crate relative_path;
extern crate rustc_hash;
extern crate test_utils;
use test_utils::assert_eq_dbg;
use ra_analysis::{
mock_analysis::{analysis_and_position},
};
use ra_analysis::mock_analysis::analysis_and_position;
#[test]
fn test_runnables() {

View file

@ -1,6 +1,4 @@
use ra_analysis::{
mock_analysis::{single_file_with_range},
};
use ra_analysis::mock_analysis::single_file_with_range;
#[test]
fn test_type_of_for_function() {