Gabriella439 / foldl

Composable, streaming, and efficient left folds
BSD 3-Clause "New" or "Revised" License
159 stars 51 forks source link

Test failure with hashable 1.3.1.0 #164

Closed felixonmars closed 3 years ago

felixonmars commented 3 years ago

It passes with hashable 1.3.0.0 and others unchanged.

Running 1 test suites...
Test suite doctest: RUNNING...
src/Control/Foldl.hs:981: failure in expression `fold (foldByKeyHashMap Control.Foldl.sum) [("a",1), ("b",2), ("b",20), ("a",10)]'
expected: fromList [("a",11),("b",22)]
 but got: fromList [("b",22),("a",11)]
                      ^

Examples: 37  Tried: 37  Errors: 0  Failures: 1
Test suite doctest: FAIL
Test suite logged to: dist/test/foldl-1.4.10-doctest.log
0 of 1 test suites (0 of 1 test cases) passed.