The TEST_REXXINFO_DATE test fails when it straddles a date change.
[failure] 20260314 00:26:11.662650
Test: TEST_REXXINFO_DATE
Class: RexxInfo.testGroup
File: .../ooRexx/base/class/RexxInfo.testGroup
Line: 134
Failed: assertEquals
Expected: 14 Mar 2026
Actual: 13 Mar 2026
Message: .RexxInfo~date should be equal to the last tokens of .RexxInfo~name
Anonymous
looks like a duplicate of ticket 1813 of March/26/2022
that was ignored by the esteemed developers
I think this can only happen when the ooRexx interpreter was actually built exactly over midnight. On my machine the instructions in the test:
.RexxInfo~name~right(.RexxInfo~date~length)
.RexxInfo~date
Both produce the same date
jenkins@POs-16-Core-Pro Downloads % rexx test
3 - say .RexxInfo~name~right(.RexxInfo~date~length)
>>> "12 Mar 2026"
12 Mar 2026
4 - say .RexxInfo~date
>>> "12 Mar 2026"
12 Mar 2026
jenkins@POs-16-Core-Pro Downloads %
But in theory it could happen also in the official build when you are working late :—)
Hälsningar/Regards/Grüsse,
ooRexx
oorexx@jonases.se
Related
Bugs: #2051