Skip to content

Commit ecca2b8

Browse files
committed
Fix google-java-format test when run with JDK 8
1 parent 169f9b5 commit ecca2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testlib/src/test/java/com/diffplug/spotless/java/GoogleJavaFormatStepTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void suggestJre11() throws Exception {
3636
step.testResourceException("java/googlejavaformat/TextBlock.dirty", throwable -> {
3737
throwable.hasMessageStartingWith("You are running Spotless on JRE 8")
3838
.hasMessageEndingWith(", which limits you to google-java-format 1.7\n"
39-
+ "If you upgrade your build JVM to 11+, then you can use google-java-format 1.9, which may have fixed this problem.");
39+
+ "If you upgrade your build JVM to 11+, then you can use google-java-format 1.11.0, which may have fixed this problem.");
4040
});
4141
} else if (JreVersion.thisVm() < 13) {
4242
step.testResourceException("java/googlejavaformat/TextBlock.dirty", throwable -> {

0 commit comments

Comments
 (0)