fix version Enum test

This commit is contained in:
Long Ma 2024-02-07 12:29:36 -07:00
parent f1026f2660
commit 70a66a7063

View File

@ -29,7 +29,7 @@ public class VersionEnumTest {
int minor = Integer.parseInt(parts[1]);
int patch = Integer.parseInt(parts[2]);
if (major >= 6 && minor >= 3) {
if ((major == 6 && minor >= 3) || major > 6 ) {
if (minor % 2 == 1) {
patch = 0;
}