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/tools/test/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/tools/test/mod.rs')
-rw-r--r-- | cli/tools/test/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index 0dc213350..7b172cf87 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -1778,7 +1778,8 @@ pub async fn run_tests( ) .await?; - if !workspace_test_options.allow_none && specifiers_with_mode.is_empty() { + if !workspace_test_options.permit_no_files && specifiers_with_mode.is_empty() + { return Err(generic_error("No test modules found")); } |