aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor/src/test_utils.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-06 18:17:09 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-06 18:17:09 +0000
commit8e60e751cbcfa47c7bed788dfe2ab5cebfcb78b3 (patch)
tree58f01a945f7c27d6baaecf38e84617ca46782073 /crates/ra_editor/src/test_utils.rs
parent5ad84f0ca5fe9bb250cd4026e5dcb5478d932666 (diff)
parent28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 (diff)
Merge #260
260: Modernize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_editor/src/test_utils.rs')
-rw-r--r--crates/ra_editor/src/test_utils.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_editor/src/test_utils.rs b/crates/ra_editor/src/test_utils.rs
index cbeb6433b..f0a4f250a 100644
--- a/crates/ra_editor/src/test_utils.rs
+++ b/crates/ra_editor/src/test_utils.rs
@@ -1,7 +1,8 @@
1use crate::LocalEdit;
2pub use crate::_test_utils::*;
3use ra_syntax::{SourceFileNode, TextRange, TextUnit}; 1use ra_syntax::{SourceFileNode, TextRange, TextUnit};
4 2
3use crate::LocalEdit;
4pub use test_utils::*;
5
5pub fn check_action<F: Fn(&SourceFileNode, TextUnit) -> Option<LocalEdit>>( 6pub fn check_action<F: Fn(&SourceFileNode, TextUnit) -> Option<LocalEdit>>(
6 before: &str, 7 before: &str,
7 after: &str, 8 after: &str,