tweak testrunner
This commit is contained in:
parent
8de6d3b0a9
commit
8306c2f6b3
2
Tests.hs
2
Tests.hs
@ -15,7 +15,7 @@ import RegisterCommand
|
|||||||
-- quickcheck = mapM quickCheck ([
|
-- quickcheck = mapM quickCheck ([
|
||||||
-- ] :: [Bool])
|
-- ] :: [Bool])
|
||||||
|
|
||||||
runtests = runTestTT $ tconcat [unittests, functests]
|
runtests = do {putStrLn "Running tests.."; runTestTT $ tconcat [unittests, functests]}
|
||||||
|
|
||||||
tconcat :: [Test] -> Test
|
tconcat :: [Test] -> Test
|
||||||
tconcat = foldr (\(TestList as) (TestList bs) -> TestList (as ++ bs)) (TestList [])
|
tconcat = foldr (\(TestList as) (TestList bs) -> TestList (as ++ bs)) (TestList [])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user