Skip to content

Commit

Permalink
Rename parameter of generated test
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgveloso committed Feb 13, 2024
1 parent 787c84c commit 001c19c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ private static Collection<Arguments> testParameterizeTest() {
.parameterize()
.annotate("@NullSource")
.annotate("@EnumSource(value=TestEnum.class,names={\"TEST1\"})")
.parameter("TestEnum te")
.statement("assertThrows(NullPointerException.class,()->te.number());")
.parameter("TestEnum enum")
.statement("assertThrows(NullPointerException.class,()->enum.number());")
.build()),
Set.of("."),
repeat(RefactoringType.PARAMETERIZE_TEST, 1)));
Expand Down

0 comments on commit 001c19c

Please sign in to comment.