File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ propParseAndPrint m =
35
35
Left _ -> False
36
36
37
37
haskellSyntaxSpecs :: SpecWith ()
38
- haskellSyntaxSpecs =
38
+ haskellSyntaxSpecs = parallel $ do
39
39
describe " Forest haskell syntax" $ do
40
40
it " parses a module with multiple assignments" $ do
41
41
code <- readFixture " multiple-assignments"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ validSampleSpecs = do
32
32
filter (not . isPrefixOf " ." ) <$>
33
33
getDirectoryContents " ./test/samples/valid"
34
34
specs <- foldl1 (flip (>>) ) <$> mapM testFileIsValid files
35
- return $ describe " valid samples" specs
35
+ return $ parallel $ describe " valid samples" specs
36
36
where
37
37
testFileIsValid :: FilePath -> IO (SpecWith () )
38
38
testFileIsValid path = do
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ typeCheckerSpecs =
221
221
case r of
222
222
Right m -> () <$ checkModule m
223
223
Left err -> error $ " Failed to parse module: " ++ show err
224
- in describe " Type checker" $ do
224
+ in parallel $ describe " Type checker" $ do
225
225
it " checks valid expressions" $
226
226
checkResult (parseModule valid) `shouldBe` Right ()
227
227
it " checks valid expressions that use locals" $
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ propCodeThatTypeChecksShouldCompile m =
44
44
45
45
wasmSpecs :: SpecWith ()
46
46
wasmSpecs =
47
- describe " wasm code generation" $
47
+ parallel $ describe " wasm code generation" $
48
48
it " generates valid wasm for any well typed module" $
49
49
withMaxSuccess
50
50
1000
You can’t perform that action at this time.
0 commit comments