Menu

#2051 The TEST_REXXINFO_DATE test fails when it straddles a date change

5.2.0
open
nobody
None
none
5
2026-03-14
2026-03-14
No

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

Related

Bugs: #2051

Discussion

  • Enrico Sorichetti

    looks like a duplicate of ticket 1813 of March/26/2022
    that was ignored by the esteemed developers

     
    • Per Olov Jonsson

      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

      Am 14.03.2026 um 13:32 schrieb Enrico Sorichetti atncsj6h@users.sourceforge.net:

      looks like a duplicate of ticket 1813 of March/26/2022
      that was ignored by the esteemed developers


      [bugs:#2051] The TEST_REXXINFO_DATE test fails when it straddles a date change

      Status: open
      Group: 5.2.0
      Created: Sat Mar 14, 2026 10:47 AM UTC by Rene Vincent Jansen
      Last Updated: Sat Mar 14, 2026 10:47 AM UTC
      Owner: nobody

      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


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/oorexx/bugs/2051/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #2051

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB