Skip to content

Commit

Permalink
Fix version div
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed Jan 9, 2025
1 parent ca066e2 commit 8a989fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regression-test/common/helper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ class Helper {
def version = String.format("%d%02d%02d", major, minor, patch).toLong()
for (long expect : versions) {
logger.info("current version ${version}, expect version ${expect}")
def expect_version_set = expect / 100
def got_version_set = version / 100
def expect_version_set = expect.intdiv(100)
def got_version_set = version.intdiv(100)
if (expect_version_set == got_version_set && version < expect) {
return false
}
Expand Down

0 comments on commit 8a989fa

Please sign in to comment.