Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Pass file directory as cwd for Run test of CodeLens #1584

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update the test client_lens_run accordingly
Gowee committed Nov 2, 2019
commit 3138d878cfa3edbddd202f21d72033eda0d9287e
3 changes: 2 additions & 1 deletion tests/client.rs
Original file line number Diff line number Diff line change
@@ -987,7 +987,8 @@ fn client_lens_run() {
arguments: Some(vec![json!({
"args": [ "test", "--", "--nocapture", "test_foo" ],
"binary": "cargo",
"env": { "RUST_BACKTRACE": "short" }
"env": { "RUST_BACKTRACE": "short" },
"cwd": p.root().join("src")
})]),
}),
data: None,