Skip to content

Commit

Permalink
Improve error message for 0 arg sets for a @ParameterizedTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen authored and Andrei94 committed Jun 26, 2018
1 parent 3d31f96 commit c517caa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContex
.peek(invocationContext -> invocationCount.incrementAndGet())
.onClose(() ->
Preconditions.condition(invocationCount.get() > 0,
"Configuration error: You must provide at least one argument for this @ParameterizedTest"));
"Configuration error: You must configure at least one set of arguments for this @ParameterizedTest"));
// @formatter:on
}

Expand Down

0 comments on commit c517caa

Please sign in to comment.