aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-06 11:26:10 +0000
committerAleksey Kladov <[email protected]>2020-02-06 11:26:10 +0000
commitee76e6141e3a6d2dd9c80e260294a4c6360e9fc7 (patch)
tree008eeee7663fcb9489a8d22729e0c0f83d1a11d7 /crates/ra_ide
parent0509a0a34e9b171d7ed7ea3e2a706c85c9b69433 (diff)
Fix test imports
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/ide_db/line_index_utils.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ra_ide/src/ide_db/line_index_utils.rs b/crates/ra_ide/src/ide_db/line_index_utils.rs
index 70bf7253c..faa3d665f 100644
--- a/crates/ra_ide/src/ide_db/line_index_utils.rs
+++ b/crates/ra_ide/src/ide_db/line_index_utils.rs
@@ -293,12 +293,14 @@ pub fn translate_offset_with_edit(
293 293
294#[cfg(test)] 294#[cfg(test)]
295mod test { 295mod test {
296 use super::*;
297 use crate::line_index;
298 use proptest::{prelude::*, proptest}; 296 use proptest::{prelude::*, proptest};
299 use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit}; 297 use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit};
300 use ra_text_edit::TextEdit; 298 use ra_text_edit::TextEdit;
301 299
300 use crate::ide_db::line_index;
301
302 use super::*;
303
302 #[derive(Debug)] 304 #[derive(Debug)]
303 struct ArbTextWithEditAndOffset { 305 struct ArbTextWithEditAndOffset {
304 text: String, 306 text: String,