aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/tests
diff options
context:
space:
mode:
authorHannes De Valkeneer <[email protected]>2020-03-09 21:06:45 +0000
committerHannes De Valkeneer <[email protected]>2020-03-11 21:26:47 +0000
commite903fd0d9726dc6343a26ddeb919099fb8e4979e (patch)
tree23c2de00603542c434cc8e413c7d7cc425869cd2 /crates/rust-analyzer/tests
parent05b4fc6d79060fc3120f92b01119e3a851c37829 (diff)
feat: add debug code lens
Refs #3539
Diffstat (limited to 'crates/rust-analyzer/tests')
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/main.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/rust-analyzer/tests/heavy_tests/main.rs b/crates/rust-analyzer/tests/heavy_tests/main.rs
index 970185dec..55af6c5e0 100644
--- a/crates/rust-analyzer/tests/heavy_tests/main.rs
+++ b/crates/rust-analyzer/tests/heavy_tests/main.rs
@@ -75,7 +75,8 @@ fn foo() {
75 RunnablesParams { text_document: server.doc_id("lib.rs"), position: None }, 75 RunnablesParams { text_document: server.doc_id("lib.rs"), position: None },
76 json!([ 76 json!([
77 { 77 {
78 "args": [ "test", "--", "foo", "--nocapture" ], 78 "args": [ "test" ],
79 "extraArgs": [ "foo", "--nocapture" ],
79 "bin": "cargo", 80 "bin": "cargo",
80 "env": { "RUST_BACKTRACE": "short" }, 81 "env": { "RUST_BACKTRACE": "short" },
81 "cwd": null, 82 "cwd": null,
@@ -90,6 +91,7 @@ fn foo() {
90 "check", 91 "check",
91 "--all" 92 "--all"
92 ], 93 ],
94 "extraArgs": [],
93 "bin": "cargo", 95 "bin": "cargo",
94 "env": {}, 96 "env": {},
95 "cwd": null, 97 "cwd": null,
@@ -147,7 +149,8 @@ fn main() {}
147 }, 149 },
148 json!([ 150 json!([
149 { 151 {
150 "args": [ "test", "--package", "foo", "--test", "spam", "--", "test_eggs", "--exact", "--nocapture" ], 152 "args": [ "test", "--package", "foo", "--test", "spam" ],
153 "extraArgs": [ "test_eggs", "--exact", "--nocapture" ],
151 "bin": "cargo", 154 "bin": "cargo",
152 "env": { "RUST_BACKTRACE": "short" }, 155 "env": { "RUST_BACKTRACE": "short" },
153 "label": "test test_eggs", 156 "label": "test test_eggs",
@@ -165,6 +168,7 @@ fn main() {}
165 "--test", 168 "--test",
166 "spam" 169 "spam"
167 ], 170 ],
171 "extraArgs": [],
168 "bin": "cargo", 172 "bin": "cargo",
169 "env": {}, 173 "env": {},
170 "cwd": server.path().join("foo"), 174 "cwd": server.path().join("foo"),