mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Merge #420
420: unit-tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
6c0bca5984
@ -1,3 +1,6 @@
|
||||
mod runnables;
|
||||
mod type_of;
|
||||
|
||||
use ra_syntax::TextRange;
|
||||
use test_utils::{assert_eq_dbg, assert_eq_text};
|
||||
|
@ -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() {
|
@ -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() {
|
Loading…
Reference in New Issue
Block a user