spl / dlist

Difference lists in Haskell
https://hackage.haskell.org/package/dlist
BSD 3-Clause "New" or "Revised" License
65 stars 15 forks source link

Running the testsuite reports `Prelude.read: no parse` #96

Closed andreasabel closed 3 years ago

andreasabel commented 3 years ago

On current master, cabal test puts the following errors into the log:

*** Failed! Exception: 'Prelude.read: no parse' (after 1 test):
0 :| []
fromList "OverloadedStrings for DList:     success"
fromNonEmpty 'O' :| "verloadedStrings for DNonEmpty: success"

(However, the final result is printed as Test suite test: PASS.)

Source location: https://github.com/spl/dlist/blob/157a97db62d7780e6793408b0bf408a11cd36f22/tests/OverloadedStrings.hs#L26-L31

spl commented 3 years ago

Thanks! It's unfortunate that the exception does not cause the tests to fail.