From 7c7cfc5f04c51ed1e31b6a3091efc3941b3383c2 Mon Sep 17 00:00:00 2001 From: Roberto Vidal Date: Sat, 13 Apr 2019 19:45:21 +0200 Subject: Sends cwd info for runnables and code lenses --- crates/ra_lsp_server/tests/heavy_tests/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crates/ra_lsp_server/tests/heavy_tests/main.rs') diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs index 407719080..e9ce002de 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs @@ -62,6 +62,7 @@ fn foo() { "args": [ "test", "--", "foo", "--nocapture" ], "bin": "cargo", "env": { "RUST_BACKTRACE": "short" }, + "cwd": null, "label": "test foo", "range": { "end": { "character": 1, "line": 2 }, @@ -75,6 +76,7 @@ fn foo() { ], "bin": "cargo", "env": {}, + "cwd": null, "label": "cargo check --all", "range": { "end": { @@ -123,7 +125,8 @@ fn test_eggs() {} "range": { "end": { "character": 17, "line": 1 }, "start": { "character": 0, "line": 0 } - } + }, + "cwd": server.path() }, { "args": [ @@ -135,6 +138,7 @@ fn test_eggs() {} ], "bin": "cargo", "env": {}, + "cwd": server.path(), "label": "cargo check -p foo", "range": { "end": { -- cgit v1.2.3