Skip to content

Commit

Permalink
test(parser): Reduce size of test
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jan 11, 2024
1 parent 11fd6ca commit 70da3a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/builder/conflicts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 70da3a8

Please sign in to comment.