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 10dfe9d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ 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;",
"",
"class A {",
" void m() {",
Expand All @@ -19,6 +20,9 @@ void identification() {
" // BUG: Diagnostic contains:",
" arguments(1);",
" arguments(1,2);",
" ",
" identity();",
" requireNonNull(null);",
" }",
"}")
.doTest();
Expand Down

0 comments on commit 10dfe9d

Please sign in to comment.