Closed roberth closed 2 years ago
The second attempt did not find the failure. The first attempt is on the same page. It was built on an aarch64-linux machine, but I don't think that should matter.
@roberth Yes, this is a known test failure. Sometimes propery-based tests failed because the generated TOML key is invalid. In the error message, the key is \
, which is an invalid TOML key. To fix this, we need to patch Key generator even further.
Is there a reason the bare
generator makes sure the first character in the key is an alphabetical character? Doesn't the toml spec allow alphanumeric + dash in any position?
https://toml.io/en/v0.5.0#keys
I've found this test failure in CI. Perhaps it hasn't been seen before, because of the random nature of property tests.
Log excerpt
``` Failures: test/Test/Toml/Codec/Combinator/Common.hs:39:5: 1) Codec: unit and property tests for bidirectional codecs, Combinator spec, Combinator.Map: Roundtrip tests, Map Text Int (tableMap): decode . encode ≡ id ✗Full log: https://hercules-ci.com/accounts/github/hercules-ci/derivations/%2Fnix%2Fstore%2F7l00v2ra2yfh0rxxnfn6aar9k0m7qmxp-tomland-1.3.2.0.drv/log?via-job=64f51676-eac8-45b1-ad55-340f00e7272c