Skip to content

Commit

Permalink
extend test
Browse files Browse the repository at this point in the history
  • Loading branch information
Venorcis committed Oct 6, 2023
1 parent 29bdf78 commit 3af06e2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ void identification() {
CompilationTestHelper.newInstance(JUnitSingleArguments.class, getClass())
.addSourceLines(
"A.java",
"import static java.util.function.Function.identity;",
"import static java.util.Objects.requireNonNull;",
"import static org.junit.jupiter.params.provider.Arguments.arguments;",
"import java.util.stream.Stream;",
"",
Expand All @@ -19,6 +21,9 @@ void identification() {
" // BUG: Diagnostic contains:",
" arguments(1);",
" arguments(1,2);",
" ",
" identity();",
" requireNonNull(null);",
" }",
"}")
.doTest();
Expand Down

0 comments on commit 3af06e2

Please sign in to comment.