Skip to content

Commit

Permalink
junit-team#1498 spotless fix
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Aug 12, 2018
1 parent ef2815c commit 6da5a3c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ void parseInvalidConfigurationParameters() {
void parseInvalidConfigurationParametersWithDuplicateKey(ArgsType type) {
Exception e = assertThrows(JUnitException.class, () -> type.parseArgLine("--config foo=bar --config foo=baz"));

assertThat(e.getMessage()).isEqualTo("Error parsing command-line arguments: Duplicate key 'foo' for values 'bar' and 'baz'.");
assertThat(e.getMessage()).isEqualTo(
"Error parsing command-line arguments: Duplicate key 'foo' for values 'bar' and 'baz'.");
assertThat(e.getCause().getMessage()).isEqualTo("Duplicate key 'foo' for values 'bar' and 'baz'.");
}

Expand Down

0 comments on commit 6da5a3c

Please sign in to comment.