From f6eab6c4bd7a8bba35f13fd353ac319625373553 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 3 Sep 2024 08:06:27 +1000 Subject: BREAKING: remove `--allow-none` flag (#25337) Towards #22079 Signed-off-by: Luca Casonato Co-authored-by: Luca Casonato --- cli/tools/test/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/tools') 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")); } -- cgit v1.2.3