[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 14:49:25 UTC 2010


The following commit has been merged in the master branch:
commit b147f8e1d5136f01bb57f54644629b82af009121
Author: John Goerzen <jgoerzen at complete.org>
Date:   Fri Dec 3 23:00:26 2004 +0100

    Fix a small test error
    
    Keywords:
    
    
    (jgoerzen at complete.org--projects/missingh--head--0.7--patch-8)

diff --git a/testsrc/ConfigParser/Maintest.hs b/testsrc/ConfigParser/Maintest.hs
index 9efd45d..2bb0ce5 100644
--- a/testsrc/ConfigParser/Maintest.hs
+++ b/testsrc/ConfigParser/Maintest.hs
@@ -117,7 +117,7 @@ test_instances =
     let cp = p "[x]\na: true\nb: 1\nbad: never"
 	in [f2 "bool 1st" (Right True) (get cp "x" "a"),
 	    f2 "bool 1nd" (Right True) (get cp "x" "b"),
-            f2b "bad bool" (Left (ParseError "Couldn't parse bool never from x/bad", "getbool")) (get cp "x" "bad")
+            f2b "bad bool" (Left (ParseError "couldn't parse bool never from x/bad", "getbool")) (get cp "x" "bad")
 	   ]
 
 
@@ -226,5 +226,6 @@ tests = TestList [TestLabel "test_basic" (TestList test_basic),
                  TestLabel "test_remove" (TestList test_remove),
                  TestLabel "test_ex_nomonad" (TestCase test_ex_nomonad),
                  TestLabel "test_ex_errormonad" (TestList test_ex_errormonad),
-                 TestLabel "test_interp" (TestList test_interp)]
+                 TestLabel "test_interp" (TestList test_interp),
+                 TestLabel "test_instances" (TestList test_instances)]
 

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list