Skip to content

Commit beb53ab

Browse files
committed
gradle spotlessApply
Issue #3708
1 parent edd9f46 commit beb53ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jupiter-tests/src/test/java/org/junit/jupiter/params/ParameterizedTestIntegrationTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,26 +1120,26 @@ void failsWithArgumentsSourceProvidingUnusedArguments() {
11201120
var results = execute(ArgumentCountValidationMode.STRICT, UnusedArgumentsTestCase.class,
11211121
"testWithTwoUnusedStringArgumentsProvider", String.class);
11221122
results.allEvents().assertThatEvents() //
1123-
.haveExactly(1, event(EventConditions.finishedWithFailure(message(
1124-
String.format("Configuration error: the @ParameterizedTest has 1 argument(s) but there were 2 argument(s) provided.%nNote: the provided arguments are [foo, unused1]")))));
1123+
.haveExactly(1, event(EventConditions.finishedWithFailure(message(String.format(
1124+
"Configuration error: the @ParameterizedTest has 1 argument(s) but there were 2 argument(s) provided.%nNote: the provided arguments are [foo, unused1]")))));
11251125
}
11261126

11271127
@Test
11281128
void failsWithMethodSourceProvidingUnusedArguments() {
11291129
var results = execute(ArgumentCountValidationMode.STRICT, UnusedArgumentsTestCase.class,
11301130
"testWithMethodSourceProvidingUnusedArguments", String.class);
11311131
results.allEvents().assertThatEvents() //
1132-
.haveExactly(1, event(EventConditions.finishedWithFailure(message(
1133-
String.format("Configuration error: the @ParameterizedTest has 1 argument(s) but there were 2 argument(s) provided.%nNote: the provided arguments are [foo, unused1]")))));
1132+
.haveExactly(1, event(EventConditions.finishedWithFailure(message(String.format(
1133+
"Configuration error: the @ParameterizedTest has 1 argument(s) but there were 2 argument(s) provided.%nNote: the provided arguments are [foo, unused1]")))));
11341134
}
11351135

11361136
@Test
11371137
void failsWithCsvSourceUnusedArgumentsAndStrictArgumentCountValidationAnnotationAttribute() {
11381138
var results = execute(ArgumentCountValidationMode.NONE, UnusedArgumentsTestCase.class,
11391139
"testWithStrictArgumentCountValidation", String.class);
11401140
results.allEvents().assertThatEvents() //
1141-
.haveExactly(1, event(EventConditions.finishedWithFailure(message(
1142-
String.format("Configuration error: the @ParameterizedTest has 1 argument(s) but there were 2 argument(s) provided.%nNote: the provided arguments are [foo, unused1]")))));
1141+
.haveExactly(1, event(EventConditions.finishedWithFailure(message(String.format(
1142+
"Configuration error: the @ParameterizedTest has 1 argument(s) but there were 2 argument(s) provided.%nNote: the provided arguments are [foo, unused1]")))));
11431143
}
11441144

11451145
@Test

0 commit comments

Comments
 (0)