Skip to content

Commit

Permalink
Failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mauvo authored and remkop committed May 20, 2023
1 parent 8bcafaa commit d418a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/picocli/UnmatchedArgumentExceptionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void testUnmatchedArgumentSuggestsSubcommands() {
Demo.mainCommand().parseWithHandler(((CommandLine.IParseResultHandler)null), new PrintStream(baos), new String[]{"chekcout"});
String expected = format("" +
"Unmatched argument at index 0: 'chekcout'%n" +
"Did you mean: checkout or help or branch?%n");
"Did you mean: git checkout or git help or git branch?%n");
assertEquals(expected, baos.toString());
}
@Test
Expand All @@ -90,7 +90,7 @@ public void testUnmatchedArgumentSuggestsSubcommands2() {
Demo.mainCommand().parseWithHandler(((CommandLine.IParseResultHandler)null), new PrintStream(baos), new String[]{"me"});
String expected = format("" +
"Unmatched argument at index 0: 'me'%n" +
"Did you mean: merge?%n");
"Did you mean: git merge?%n");
assertEquals(expected, baos.toString());
}

Expand Down

0 comments on commit d418a7a

Please sign in to comment.