From 5208aef92c02c0fa074c36ce5e103a4afb82ac4c Mon Sep 17 00:00:00 2001 From: Pushkar Mahajan <44649555+Pushkar-Mahajan4@users.noreply.github.com> Date: Sat, 5 Aug 2023 06:48:21 -0400 Subject: [PATCH] Minor Improvement: Add Java 20 version to assertJavaCheckPasses() in war>src>test (#8285) * Add java 20 version to assertJavaCheckPasses() in war>src>test * Discard changes to war/yarn.lock --------- Co-authored-by: Pushkar-Mahajan4 Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> --- war/src/test/java/executable/MainTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/war/src/test/java/executable/MainTest.java b/war/src/test/java/executable/MainTest.java index 6010759546ca..e690eb3996d0 100644 --- a/war/src/test/java/executable/MainTest.java +++ b/war/src/test/java/executable/MainTest.java @@ -28,6 +28,7 @@ void future() { assertJavaCheckFails(16, false); assertJavaCheckFails(18, false); assertJavaCheckFails(19, false); + assertJavaCheckFails(20, false); assertJavaCheckPasses(12, true); assertJavaCheckPasses(13, true); assertJavaCheckPasses(14, true); @@ -35,6 +36,7 @@ void future() { assertJavaCheckPasses(16, true); assertJavaCheckPasses(18, true); assertJavaCheckPasses(19, true); + assertJavaCheckPasses(20, true); } private static void assertJavaCheckFails(int releaseVersion, boolean enableFutureJava) {