diff options
Diffstat (limited to 'crates')
-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 @@ | |||
1 | mod runnables; | ||
2 | mod type_of; | ||
3 | |||
1 | use ra_syntax::TextRange; | 4 | use ra_syntax::TextRange; |
2 | use test_utils::{assert_eq_dbg, assert_eq_text}; | 5 | use 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 @@ | |||
1 | extern crate ra_analysis; | ||
2 | extern crate ra_editor; | ||
3 | extern crate ra_syntax; | ||
4 | extern crate relative_path; | ||
5 | extern crate rustc_hash; | ||
6 | extern crate test_utils; | ||
7 | |||
8 | use test_utils::assert_eq_dbg; | 1 | use test_utils::assert_eq_dbg; |
9 | 2 | ||
10 | use ra_analysis::{ | 3 | use ra_analysis::mock_analysis::analysis_and_position; |
11 | mock_analysis::{analysis_and_position}, | ||
12 | }; | ||
13 | 4 | ||
14 | #[test] | 5 | #[test] |
15 | fn test_runnables() { | 6 | fn 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 @@ | |||
1 | use ra_analysis::{ | 1 | use ra_analysis::mock_analysis::single_file_with_range; |
2 | mock_analysis::{single_file_with_range}, | ||
3 | }; | ||
4 | 2 | ||
5 | #[test] | 3 | #[test] |
6 | fn test_type_of_for_function() { | 4 | fn test_type_of_for_function() { |