JAVA-5710: Fix expected Java version

This commit is contained in:
Krzysztof Woyke 2021-06-21 08:44:17 +02:00
parent 8baaa76e71
commit 2c7f52fa0b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ public class VersionUnitTest {
@Test
public void givenJava_whenUsingRuntime_thenGetVersion() {
String expectedVersion = "11";
String expectedVersion = "15";
Runtime.Version runtimeVersion = Runtime.version();
String version = String.valueOf(runtimeVersion.version().get(0));
Assertions.assertThat(version).isEqualTo(expectedVersion);