diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-03 08:06:27 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-02 22:06:27 +0000 |
commit | f6eab6c4bd7a8bba35f13fd353ac319625373553 (patch) | |
tree | 27ef4187353b42c1ab4c60f4d69806a350b4a8e0 /cli/args/mod.rs | |
parent | e804175a0ad850f09086b70368042ac50cee116e (diff) |
BREAKING: remove `--allow-none` flag (#25337)
Towards #22079
Signed-off-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index aed5bc1b2..50132b1fb 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -369,7 +369,7 @@ pub struct WorkspaceTestOptions { pub doc: bool, pub no_run: bool, pub fail_fast: Option<NonZeroUsize>, - pub allow_none: bool, + pub permit_no_files: bool, pub filter: Option<String>, pub shuffle: Option<u64>, pub concurrent_jobs: NonZeroUsize, @@ -382,7 +382,7 @@ pub struct WorkspaceTestOptions { impl WorkspaceTestOptions { pub fn resolve(test_flags: &TestFlags) -> Self { Self { - allow_none: test_flags.allow_none, + permit_no_files: test_flags.permit_no_files, concurrent_jobs: test_flags .concurrent_jobs .unwrap_or_else(|| NonZeroUsize::new(1).unwrap()), |