Skip to content

Commit

Permalink
add names
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlight220 committed Apr 1, 2024
1 parent 73b76e6 commit 11e62a9
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ void optionsAreCorrect(

static Stream<Arguments> optionsAreCorrect() {
return Stream.of(
Arguments.of("empty", new Command[] {}),
Arguments.of("empty", new Command[] {}, new String[]{}),
Arguments.of(
"duplicateName",
new Command[] {commandNamed("a"), commandNamed("b"), commandNamed("a")}),
new Command[] {commandNamed("a"), commandNamed("b"), commandNamed("a")},
new String[] {"a", "b", "c"}),
Arguments.of(
"happyPath", new Command[] {commandNamed("a"), commandNamed("b"), commandNamed("c")}));
"happyPath", new Command[] {commandNamed("a"), commandNamed("b"), commandNamed("c")},
new String[] {"a", "b", "c"}));
}

@AfterEach
Expand Down

0 comments on commit 11e62a9

Please sign in to comment.