Skip to content

Commit 7e852e3

Browse files
committed
On JRE 11, users will get alert that they might fix the GrEclipse issue by bumping to JRE 17 and using the latest.
1 parent 7f245a8 commit 7e852e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib-extra/src/test/java/com/diffplug/spotless/extra/groovy/GrEclipseFormatterStepSpecialCaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class GrEclipseFormatterStepSpecialCaseTest {
3030
*/
3131
@Test
3232
public void issue_1657() {
33-
Assertions.assertThrows(IllegalArgumentException.class, () -> {
33+
Assertions.assertThrows(RuntimeException.class, () -> {
3434
StepHarness.forStep(GrEclipseFormatterStep.createBuilder(TestProvisioner.mavenCentral()).build())
3535
.testResourceUnaffected("groovy/greclipse/format/SomeClass.test");
3636
});

0 commit comments

Comments
 (0)