diff options
author | Aleksey Kladov <[email protected]> | 2018-12-27 09:54:59 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-27 09:54:59 +0000 |
commit | 62c40b0e91e79094daf7491526aa8b164a7d198c (patch) | |
tree | e00c272a27f3eb190b9d0800788ed6e1dba084e8 /crates | |
parent | 4e2dffd7983b000e9c3648e68b7b3eaf2111c400 (diff) |
fix the test
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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() {} | |||
141 | server.request::<CodeActionRequest>( | 141 | server.request::<CodeActionRequest>( |
142 | CodeActionParams { | 142 | CodeActionParams { |
143 | text_document: server.doc_id("src/lib.rs"), | 143 | text_document: server.doc_id("src/lib.rs"), |
144 | range: Range::new(Position::new(0, 0), Position::new(0, 7)), | 144 | range: Range::new(Position::new(0, 4), Position::new(0, 7)), |
145 | context: empty_context(), | 145 | context: empty_context(), |
146 | }, | 146 | }, |
147 | json!([ | 147 | json!([ |
@@ -168,7 +168,7 @@ fn main() {} | |||
168 | server.request::<CodeActionRequest>( | 168 | server.request::<CodeActionRequest>( |
169 | CodeActionParams { | 169 | CodeActionParams { |
170 | text_document: server.doc_id("src/lib.rs"), | 170 | text_document: server.doc_id("src/lib.rs"), |
171 | range: Range::new(Position::new(2, 0), Position::new(2, 7)), | 171 | range: Range::new(Position::new(2, 4), Position::new(2, 7)), |
172 | context: empty_context(), | 172 | context: empty_context(), |
173 | }, | 173 | }, |
174 | json!([]), | 174 | json!([]), |