haskell / text

Haskell library for space- and time-efficient operations over Unicode text.
http://hackage.haskell.org/package/text
BSD 2-Clause "Simplified" License
407 stars 157 forks source link

t_toUpper_char fails on s390x #606

Open Bodigrim opened 2 weeks ago

Bodigrim commented 2 weeks ago

https://github.com/haskell/text/actions/runs/9628836664/job/26557513845 failed with

             t_toUpper_char:                            FAIL (0.02s)
              *** Failed! Falsified (after 80 tests):
              '\42954'
              "\42953" /= "\42954"
              Use --quickcheck-replay=567863 to reproduce.

I have not looked into it, just filing.

Bodigrim commented 2 weeks ago

Letters in question:

Lysxia commented 1 week ago

The failing test t_toUpper_char is guarded by a MIN_VERSION_base(...) condition which goes out of date almost every time we upgrade the Unicode version for the case mappings in text.