aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_editor/src/lib.rs')
-rw-r--r--crates/ra_editor/src/lib.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/crates/ra_editor/src/lib.rs b/crates/ra_editor/src/lib.rs
index c6b116159..ce080ee97 100644
--- a/crates/ra_editor/src/lib.rs
+++ b/crates/ra_editor/src/lib.rs
@@ -1,12 +1,3 @@
1extern crate itertools;
2extern crate join_to_string;
3extern crate ra_syntax;
4extern crate rustc_hash;
5extern crate superslice;
6#[cfg(test)]
7#[macro_use]
8extern crate test_utils as _test_utils;
9
10mod code_actions; 1mod code_actions;
11mod edit; 2mod edit;
12mod extend_selection; 3mod extend_selection;
@@ -154,7 +145,7 @@ pub fn find_node_at_offset<'a, N: AstNode<'a>>(
154#[cfg(test)] 145#[cfg(test)]
155mod tests { 146mod tests {
156 use super::*; 147 use super::*;
157 use crate::test_utils::{add_cursor, assert_eq_dbg, extract_offset}; 148 use crate::test_utils::{add_cursor, assert_eq_dbg, extract_offset, assert_eq_text};
158 149
159 #[test] 150 #[test]
160 fn test_highlighting() { 151 fn test_highlighting() {