diff options
Diffstat (limited to 'crates/ra_lsp_server/tests')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/main.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs index e49c87169..996bf8e01 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs | |||
@@ -225,10 +225,12 @@ fn main() {} | |||
225 | context: empty_context(), | 225 | context: empty_context(), |
226 | }, | 226 | }, |
227 | json!([ | 227 | json!([ |
228 | { | 228 | { |
229 | "command": { | ||
229 | "arguments": [ | 230 | "arguments": [ |
230 | { | 231 | { |
231 | "cursorPosition": null, | 232 | "cursorPosition": null, |
233 | "label": "create module", | ||
232 | "workspaceEdit": { | 234 | "workspaceEdit": { |
233 | "documentChanges": [ | 235 | "documentChanges": [ |
234 | { | 236 | { |
@@ -236,13 +238,14 @@ fn main() {} | |||
236 | "uri": "file:///[..]/src/bar.rs" | 238 | "uri": "file:///[..]/src/bar.rs" |
237 | } | 239 | } |
238 | ] | 240 | ] |
239 | }, | 241 | } |
240 | "label": "create module" | ||
241 | } | 242 | } |
242 | ], | 243 | ], |
243 | "command": "rust-analyzer.applySourceChange", | 244 | "command": "rust-analyzer.applySourceChange", |
244 | "title": "create module" | 245 | "title": "create module" |
245 | } | 246 | }, |
247 | "title": "create module" | ||
248 | } | ||
246 | ]), | 249 | ]), |
247 | ); | 250 | ); |
248 | 251 | ||