Fixed a bug so that tocktest now defaults to running a medium level of quickcheck tests
This commit is contained in:
parent
6f4146a4f3
commit
4c176a1a0f
|
@ -95,6 +95,7 @@ main = do (opts, nonOpts, errs) <- getArgs >>* getOpt RequireOrder options
|
|||
findLevel :: [TestOption] -> Either String (Maybe QuickCheckLevel)
|
||||
findLevel (QC qc:_) = qc
|
||||
findLevel (_:os) = findLevel os
|
||||
findLevel [] = Right $ Just QC_Medium
|
||||
|
||||
findType :: [TestOption] -> Maybe Bool
|
||||
findType (OutputType t:_) = Just t
|
||||
|
|
Loading…
Reference in New Issue
Block a user