[Haskell-cafe] HUnit false-positive stumper

Max Bolingbroke batterseapower at hotmail.com
Mon Jun 6 17:43:15 CEST 2011


On 6 June 2011 16:18, Jimbo Massive <jimbo.massive-haskell at xyxyx.org> wrote:
> Or is this bad behaviour due to HUnit doing something unsafe?

I think it may be related to this bug:
http://hackage.haskell.org/trac/ghc/ticket/5129

The suggested fix is to change HUnit to define assertFailure with
throwIO, but the latest source code still uses throw:

http://hackage.haskell.org/trac/ghc/ticket/5129

So this could very well be a HUnit bug.

Max



More information about the Haskell-Cafe mailing list