lens / lens-aeson

Traversals and Prisms for Data.Aeson
MIT License
51 stars 18 forks source link

Doctests fail on 32-bit archs #30

Closed iliastsi closed 6 years ago

iliastsi commented 6 years ago

Doctests fail on 32-bit archs (e.g., i386, armel, etc) with the following error:

Running 1 test suites...
Test suite doctests: RUNNING...
/<<PKGBUILDDIR>>/src/Data/Aeson/Lens.hs:331: failure in expression `"{\"a\": 4, \"b\": 7}" ^@.. members'
expected: [("a",Number 4.0),("b",Number 7.0)]
 but got: [("b",Number 7.0),("a",Number 4.0)]
glguy commented 6 years ago

Oops, we shouldn't be relying on the order of elements stored in a hash map!