Skip to content

Commit 27a5957

Browse files
committed
Polish
1 parent 46155ca commit 27a5957

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-test/src/main/java/org/springframework/boot/test

1 file changed

+1
-1
lines changed

spring-boot-test/src/main/java/org/springframework/boot/test/Assume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static void javaVersion(JavaVersion version) {
3939
JavaVersion current = JavaVersion.getJavaVersion();
4040
org.junit.Assume.assumeTrue(
4141
String.format("This test should run on %s (got %s)", version, current),
42-
current.isOlderThan(version));
42+
current == version);
4343
}
4444

4545
}

0 commit comments

Comments
 (0)