Skip to content

Commit

Permalink
Minor Improvement: Add Java 20 version to assertJavaCheckPasses() in …
Browse files Browse the repository at this point in the history
…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 <pushkarmahajan1027@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 5, 2023
1 parent 1758fb6 commit 5208aef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions war/src/test/java/executable/MainTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ void future() {
assertJavaCheckFails(16, false);
assertJavaCheckFails(18, false);
assertJavaCheckFails(19, false);
assertJavaCheckFails(20, false);
assertJavaCheckPasses(12, true);
assertJavaCheckPasses(13, true);
assertJavaCheckPasses(14, true);
assertJavaCheckPasses(15, true);
assertJavaCheckPasses(16, true);
assertJavaCheckPasses(18, true);
assertJavaCheckPasses(19, true);
assertJavaCheckPasses(20, true);
}

private static void assertJavaCheckFails(int releaseVersion, boolean enableFutureJava) {
Expand Down

0 comments on commit 5208aef

Please sign in to comment.