Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed May 21, 2024
1 parent ee11884 commit 32c6671
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ public void unknownBooleanOption() {
assertThrows(
OptionsParsingException.class,
() -> Options.parse(HttpOptions.class, new String[] {"--no-debug"}));
assertThat(e).hasMessageThat().isEqualTo("Unrecognized option: --no-debug");
assertThat(e)
.hasMessageThat()
.isEqualTo("Unrecognized option: --no-debug (did you mean '--nodebug'?)");
}

public static class J extends OptionsBase {
Expand Down

0 comments on commit 32c6671

Please sign in to comment.