420: unit-tests r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2019-01-03 17:15:41 +00:00
commit 6c0bca5984
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() {