From 62c40b0e91e79094daf7491526aa8b164a7d198c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 27 Dec 2018 12:54:59 +0300 Subject: fix the test --- crates/ra_lsp_server/tests/heavy_tests/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs index 029a55d40..1f5cc5e8b 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs @@ -141,7 +141,7 @@ fn main() {} server.request::( CodeActionParams { text_document: server.doc_id("src/lib.rs"), - range: Range::new(Position::new(0, 0), Position::new(0, 7)), + range: Range::new(Position::new(0, 4), Position::new(0, 7)), context: empty_context(), }, json!([ @@ -168,7 +168,7 @@ fn main() {} server.request::( CodeActionParams { text_document: server.doc_id("src/lib.rs"), - range: Range::new(Position::new(2, 0), Position::new(2, 7)), + range: Range::new(Position::new(2, 4), Position::new(2, 7)), context: empty_context(), }, json!([]), -- cgit v1.2.3