We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7492b18 commit 4be95c4Copy full SHA for 4be95c4
1 file changed
crates/rust-analyzer/src/target_spec.rs
@@ -232,16 +232,13 @@ impl CargoTargetSpec {
232
233
let exact = match kind {
234
RunnableKind::Test { test_id } | RunnableKind::Bench { test_id } => match test_id {
235
- TestId::Path(_) => "",
236
- TestId::Name(_) => "--exact",
+ TestId::Path(_) => "--exact",
+ TestId::Name(_) => "",
237
},
238
_ => "",
239
};
240
let include_ignored = match kind {
241
- RunnableKind::Test { test_id } => match test_id {
242
243
- TestId::Name(_) => "--include-ignored",
244
- },
+ RunnableKind::Test { .. } => "--include-ignored",
245
246
247
0 commit comments