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
Issue: #1477
  • Loading branch information
sbrannen committed Jun 26, 2018
1 parent 2219264 commit b1e533c
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 b1e533c

Please sign in to comment.