diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-12 18:56:11 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-12 18:56:11 +0000 |
commit | e56072bfa3e5af69a4c293a38de6e1350ada3573 (patch) | |
tree | c7093fca262cedfc1fce2ba7499330fbb343c702 /crates/ra_lsp_server/src/lib.rs | |
parent | ee80a92ed4245f1b6e2b11127c8636b63930073d (diff) | |
parent | 5bf739c824c25867811163e05f706ff3d20bd2e6 (diff) |
Merge #500
500: Code lens support for running tests r=matklad a=kjeremy
Supports running individual and mod tests.
I feel like this kind of abuses the `Runnables` infrastructure but it works. Maybe later on down the line we should introduce a struct that is really just a tuple of binary, arguments, and environment and pass that back to the client instead. `run_single.ts` is just a paired down version of `runnables.ts` and there is duplication because I think run_single will probably change independent of runnables.
Co-authored-by: Jeremy A. Kolb <[email protected]>
Co-authored-by: Jeremy Kolb <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/lib.rs')
-rw-r--r-- | crates/ra_lsp_server/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/lib.rs b/crates/ra_lsp_server/src/lib.rs index 725b1258a..f93d4b37d 100644 --- a/crates/ra_lsp_server/src/lib.rs +++ b/crates/ra_lsp_server/src/lib.rs | |||
@@ -1,4 +1,5 @@ | |||
1 | mod caps; | 1 | mod caps; |
2 | mod cargo_target_spec; | ||
2 | mod conv; | 3 | mod conv; |
3 | mod main_loop; | 4 | mod main_loop; |
4 | mod project_model; | 5 | mod project_model; |