Skip to content

Commit

Permalink
Quick FTBFS fix due to minor QuickCheck API change.
Browse files Browse the repository at this point in the history
Patch from Joachim Breitner in
7bff466 in Debian repo

Closes #1

Conflicts:

	debian/changelog
  • Loading branch information
jgoerzen committed Aug 11, 2010
1 parent 08483d9 commit 7a8e30d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Test/HUnit/Tools.hs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ localquickCheckWithResult args p =
runATest st f = runATest st f =
do do
let size = computeSize st (numSuccessTests st) (numDiscardedTests st) let size = computeSize st (numSuccessTests st) (numDiscardedTests st)
(res, ts) <- run (unProp (f rnd1 size)) MkRose mres ts <- protectRose (unProp (f rnd1 size))
res <- mres
callbackPostTest st res callbackPostTest st res


case ok res of case ok res of
Expand Down

0 comments on commit 7a8e30d

Please sign in to comment.