test threads spacing

This commit is contained in:
Benjamin Brienen 2024-10-29 19:07:33 +01:00
parent 69716d6213
commit 76bbf8eb07

View file

@ -21,13 +21,13 @@ impl Prepare for TestCommand {
let test_threads = args
.test_threads
.map(|test_threads| format!("--test-threads={test_threads}"))
.map(|test_threads| format!(" -- --test-threads={test_threads}"))
.unwrap_or_default();
vec![PreparedCommand::new::<Self>(
cmd!(
sh,
"cargo test --workspace --lib --bins --tests --benches {no_fail_fast}{jobs} -- {test_threads}"
"cargo test --workspace --lib --bins --tests --benches {no_fail_fast}{jobs}{test_threads}"
),
"Please fix failing tests in output above.",
)]