From 70da3a8608a3103ef68df7b079246141f2624842 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 11 Jan 2024 08:46:47 -0600 Subject: [PATCH] test(parser): Reduce size of test --- tests/builder/conflicts.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/builder/conflicts.rs b/tests/builder/conflicts.rs index 9d7827921cc..d623f8c9508 100644 --- a/tests/builder/conflicts.rs +++ b/tests/builder/conflicts.rs @@ -699,9 +699,7 @@ For more information, try '--help'. let cmd = Command::new("test") .args_conflicts_with_subcommands(true) .arg(arg!(-p --place <"place id"> "Place ID to open")) - .subcommand( - Command::new("sub1").subcommand(Command::new("sub2").subcommand(Command::new("sub3"))), - ); + .subcommand(Command::new("sub1")); utils::assert_output(cmd, "test --place id sub1", CONFLICT_ERR, true); }