[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 15:11:23 UTC 2010


The following commit has been merged in the master branch:
commit c33b65c35be3340653c762dc2a9f9f81752be563
Author: John Goerzen <jgoerzen at complete.org>
Date:   Sat Oct 14 01:09:08 2006 +0100

    Fixed a test

diff --git a/testsrc/ProgressTrackertest.hs b/testsrc/ProgressTrackertest.hs
index b27d498..e72b2f5 100644
--- a/testsrc/ProgressTrackertest.hs
+++ b/testsrc/ProgressTrackertest.hs
@@ -120,7 +120,7 @@ test_callback =
        
        addCallback po2 (minc mcounter2)
        incrP po 100
-       readMVar mcounter2 >>= assertEqual "cb2" 1
+       readMVar mcounter2 >>= (\x -> assertBool "cb2" (0 /= x))
        withStatus po2 (\x -> do 105 @=? completedUnits x
                                 205 @=? totalUnits x)
        

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list