From 3f7397918489144805c17d0594775aa699e87b9d Mon Sep 17 00:00:00 2001 From: arya2 Date: Mon, 5 Jun 2023 15:15:32 -0400 Subject: [PATCH] Prunes redundant test cases --- zebrad/src/commands/tests.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/zebrad/src/commands/tests.rs b/zebrad/src/commands/tests.rs index 15af8e045d9..aec38e98b66 100644 --- a/zebrad/src/commands/tests.rs +++ b/zebrad/src/commands/tests.rs @@ -10,15 +10,9 @@ use super::EntryPoint; fn args_with_subcommand_pass_through() { let test_cases = [ (true, false, vec!["zebrad"]), - (true, true, vec!["zebrad", "-v"]), - (true, true, vec!["zebrad", "--verbose"]), - (false, false, vec!["zebrad", "-h"]), (false, false, vec!["zebrad", "--help"]), - (true, false, vec!["zebrad", "start"]), - (true, true, vec!["zebrad", "-v", "start"]), - (true, false, vec!["zebrad", "warn"]), - (true, false, vec!["zebrad", "start", "warn"]), - (false, false, vec!["zebrad", "help", "warn"]), + (true, false, vec!["zebrad", "-v", "warn"]), + (true, true, vec!["zebrad", "-v", "start", "warn"]), ]; for (should_be_start, should_be_verbose, args) in test_cases {