aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/tests')
-rw-r--r--crates/ra_analysis/tests/test/main.rs (renamed from crates/ra_analysis/tests/tests.rs)3
-rw-r--r--crates/ra_analysis/tests/test/runnables.rs (renamed from crates/ra_analysis/tests/runnables.rs)11
-rw-r--r--crates/ra_analysis/tests/test/type_of.rs (renamed from crates/ra_analysis/tests/type_of.rs)4
3 files changed, 5 insertions, 13 deletions
diff --git a/crates/ra_analysis/tests/tests.rs b/crates/ra_analysis/tests/test/main.rs
index c2ef87b54..23a5799b9 100644
--- a/crates/ra_analysis/tests/tests.rs
+++ b/crates/ra_analysis/tests/test/main.rs
@@ -1,3 +1,6 @@
1mod runnables;
2mod type_of;
3
1use ra_syntax::TextRange; 4use ra_syntax::TextRange;
2use test_utils::{assert_eq_dbg, assert_eq_text}; 5use test_utils::{assert_eq_dbg, assert_eq_text};
3 6
diff --git a/crates/ra_analysis/tests/runnables.rs b/crates/ra_analysis/tests/test/runnables.rs
index 9e5342c46..e6e0afbc3 100644
--- a/crates/ra_analysis/tests/runnables.rs
+++ b/crates/ra_analysis/tests/test/runnables.rs
@@ -1,15 +1,6 @@
1extern crate ra_analysis;
2extern crate ra_editor;
3extern crate ra_syntax;
4extern crate relative_path;
5extern crate rustc_hash;
6extern crate test_utils;
7
8use test_utils::assert_eq_dbg; 1use test_utils::assert_eq_dbg;
9 2
10use ra_analysis::{ 3use ra_analysis::mock_analysis::analysis_and_position;
11 mock_analysis::{analysis_and_position},
12};
13 4
14#[test] 5#[test]
15fn test_runnables() { 6fn test_runnables() {
diff --git a/crates/ra_analysis/tests/type_of.rs b/crates/ra_analysis/tests/test/type_of.rs
index 375f808bb..9d15b52a8 100644
--- a/crates/ra_analysis/tests/type_of.rs
+++ b/crates/ra_analysis/tests/test/type_of.rs
@@ -1,6 +1,4 @@
1use ra_analysis::{ 1use ra_analysis::mock_analysis::single_file_with_range;
2 mock_analysis::{single_file_with_range},
3};
4 2
5#[test] 3#[test]
6fn test_type_of_for_function() { 4fn test_type_of_for_function() {