diff options
author | Kirill Bulatov <[email protected]> | 2020-02-14 23:06:14 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-02-14 23:06:14 +0000 |
commit | 426c0f26fe90e7d4fcf5950e217a64843e651fe9 (patch) | |
tree | 27cb96ad44bf04a00b249bab75f76b3f5792b154 /crates/ra_lsp_server/src/main_loop/handlers.rs | |
parent | 9ba801befd70892bf40429512e890389171aa59f (diff) |
If possible, use --exact flag when running tests
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop/handlers.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 2e598fdcd..5879a1f7a 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -918,9 +918,9 @@ fn to_lsp_runnable( | |||
918 | let args = runnable_args(world, file_id, &runnable.kind)?; | 918 | let args = runnable_args(world, file_id, &runnable.kind)?; |
919 | let line_index = world.analysis().file_line_index(file_id)?; | 919 | let line_index = world.analysis().file_line_index(file_id)?; |
920 | let label = match &runnable.kind { | 920 | let label = match &runnable.kind { |
921 | RunnableKind::Test { name } => format!("test {}", name), | 921 | RunnableKind::Test { test_id } => format!("test {}", test_id), |
922 | RunnableKind::TestMod { path } => format!("test-mod {}", path), | 922 | RunnableKind::TestMod { path } => format!("test-mod {}", path), |
923 | RunnableKind::Bench { name } => format!("bench {}", name), | 923 | RunnableKind::Bench { test_id } => format!("bench {}", test_id), |
924 | RunnableKind::Bin => "run binary".to_string(), | 924 | RunnableKind::Bin => "run binary".to_string(), |
925 | }; | 925 | }; |
926 | Ok(req::Runnable { | 926 | Ok(req::Runnable { |