CommandHandlerParsingTest stably fails with parsing error
@@ -40,6 +40,9 @@ public class CommandHandlerParsingTest extends TestCase {
CommandHandler hnd = new CommandHandler();
for (Command cmd : Command.values()) {
+ if (cmd == Command.CACHE)
+ continue; // --cache subcommand requires its own specific arguments.
+
try {
hnd.parseAndValidate(asList("--user"));
@@ -91,6 +94,9 @@ public class CommandHandlerParsingTest extends TestCase {
CommandHandler hnd = new CommandHandler();
for (Command cmd : Command.values()) {
+ if (cmd == Command.CACHE)
+ continue; // --cache subcommand requires its own specific arguments.
+
Arguments args = hnd.parseAndValidate(asList(cmd.text()));
assertEquals(cmd, args.command());
