aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src/test_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libeditor/src/test_utils.rs')
-rw-r--r--crates/libeditor/src/test_utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libeditor/src/test_utils.rs b/crates/libeditor/src/test_utils.rs
index 475f560fa..037319cd0 100644
--- a/crates/libeditor/src/test_utils.rs
+++ b/crates/libeditor/src/test_utils.rs
@@ -1,8 +1,8 @@
1use libsyntax2::{File, TextUnit}; 1use libsyntax2::{File, TextUnit};
2pub use _test_utils::*; 2pub use _test_utils::*;
3use ActionResult; 3use LocalEdit;
4 4
5pub fn check_action<F: Fn(&File, TextUnit) -> Option<ActionResult>> ( 5pub fn check_action<F: Fn(&File, TextUnit) -> Option<LocalEdit>> (
6 before: &str, 6 before: &str,
7 after: &str, 7 after: &str,
8 f: F, 8 f: F,