diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 17:56:23 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 17:56:23 +0000 |
commit | 3604f23e98d01fe9d89e5cdcf76a51cb9c1d6768 (patch) | |
tree | de867640036faf167ff07a62d22db02c37f48088 /crates/ra_ide_api_light/src/lib.rs | |
parent | 6e324d38d6ef3e250ff32a397f4777699e006f7f (diff) | |
parent | 01bca7114c0567961c875a1df5a60748cd872073 (diff) |
Merge #1012
1012: Move join_lines and test_utils to ra_ide_api r=matklad a=detrumi
Part of #1009
Co-authored-by: Wilco Kusee <[email protected]>
Diffstat (limited to 'crates/ra_ide_api_light/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api_light/src/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/ra_ide_api_light/src/lib.rs b/crates/ra_ide_api_light/src/lib.rs index 4036a598e..f21a91e18 100644 --- a/crates/ra_ide_api_light/src/lib.rs +++ b/crates/ra_ide_api_light/src/lib.rs | |||
@@ -4,9 +4,6 @@ | |||
4 | //! an edit or some auxiliary info. | 4 | //! an edit or some auxiliary info. |
5 | 5 | ||
6 | mod structure; | 6 | mod structure; |
7 | #[cfg(test)] | ||
8 | mod test_utils; | ||
9 | mod join_lines; | ||
10 | mod typing; | 7 | mod typing; |
11 | 8 | ||
12 | use rustc_hash::FxHashSet; | 9 | use rustc_hash::FxHashSet; |
@@ -20,7 +17,6 @@ use ra_syntax::{ | |||
20 | 17 | ||
21 | pub use crate::{ | 18 | pub use crate::{ |
22 | structure::{file_structure, StructureNode}, | 19 | structure::{file_structure, StructureNode}, |
23 | join_lines::join_lines, | ||
24 | typing::{on_enter, on_dot_typed, on_eq_typed}, | 20 | typing::{on_enter, on_dot_typed, on_eq_typed}, |
25 | }; | 21 | }; |
26 | 22 | ||
@@ -118,7 +114,7 @@ mod tests { | |||
118 | use ra_syntax::AstNode; | 114 | use ra_syntax::AstNode; |
119 | use insta::assert_debug_snapshot_matches; | 115 | use insta::assert_debug_snapshot_matches; |
120 | 116 | ||
121 | use crate::test_utils::{add_cursor, assert_eq_text, extract_offset}; | 117 | use test_utils::{add_cursor, assert_eq_text, extract_offset}; |
122 | 118 | ||
123 | use super::*; | 119 | use super::*; |
124 | 120 | ||