Skip to content

Commit 8de6dd5

Browse files
committed
Fix JvmTest on other JVMs.
1 parent 45df861 commit 8de6dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void supportProposesFormatterUpgrade() {
142142
}).getMessage();
143143
assertThat(proposal).isEqualTo("My Test Formatter " + fmtVersion + " is currently being used, but outdated.\n" +
144144
"My Test Formatter 2 is the recommended version, which may have fixed this problem.\n" +
145-
"My Test Formatter 2 requires JVM 10+.");
145+
"My Test Formatter 2 requires JVM " + (requiredJvm) + "+.");
146146
}
147147
}
148148

0 commit comments

Comments
 (0)