Skip to content

Commit ebf7784

Browse files
committed
Simplify test run
1 parent 1f3ca4d commit ebf7784

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

test/Spec.hs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
import HashSetUtilsSpec
22
import SequenceUtilsSpec
33
import Test.HUnit
4-
import System.Exit (exitFailure)
5-
6-
processCounts :: Counts -> IO ()
7-
processCounts counts = do
8-
if errors counts + failures counts == 0
9-
then return ()
10-
else exitFailure
114

125
main :: IO ()
136
main = do
14-
hsCounts <- runTestTT hashSetTestCases
15-
processCounts hsCounts
16-
seqCounts <- runTestTT seqTestCases
17-
processCounts seqCounts
7+
_ <- runTestTT hashSetTestCases
8+
_ <- runTestTT seqTestCases
9+
return ()

0 commit comments

Comments
 (0)