From ef442b8682909f2ab758f55507d4c2e81673cfa1 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 24 Feb 2019 13:53:35 +0300 Subject: Assign IDs to assists --- crates/ra_lsp_server/tests/heavy_tests/main.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'crates/ra_lsp_server/tests') 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() {} context: empty_context(), }, json!([ - { + { + "command": { "arguments": [ { "cursorPosition": null, + "label": "create module", "workspaceEdit": { "documentChanges": [ { @@ -236,13 +238,14 @@ fn main() {} "uri": "file:///[..]/src/bar.rs" } ] - }, - "label": "create module" + } } ], "command": "rust-analyzer.applySourceChange", "title": "create module" - } + }, + "title": "create module" + } ]), ); -- cgit v1.2.3