versions icon indicating copy to clipboard operation
versions copied to clipboard

18446744073709551610.0.0 testcase failed on Fedora i686

Open juhp opened this issue 1 year ago • 3 comments

Nothing serious, just this one testcase failed for me on 32bit Linux

        18446744073709551610.0.0:                        FAIL
          test/Test.hs:243:
          Semantic Version:1:21:
            |
          1 | 18446744073709551610.0.0
            |                     ^
          Value (18446744073709551610) larger than Word size: 4294967295
          
          Use -p '/Good Versions (should parse).18446744073709551610.0.0/' to rerun this test only.

Probably not worth worrying about, just thought it's funny & would report it anyways. Feel completely free just close this.

juhp avatar Aug 06 '24 15:08 juhp

I think we added this on purpose. Yes, here: https://github.com/fosskers/versions/pull/74

fosskers avatar Aug 06 '24 20:08 fosskers

Would it be possible to make this an expected failure on 32-bit or something? Would be nice to not have to patch out this test.

swt2c avatar Oct 08 '24 14:10 swt2c

I'll look into that.

fosskers avatar Oct 10 '24 23:10 fosskers