File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ propParseAndPrint m =
3535 Left _ -> False
3636
3737haskellSyntaxSpecs :: SpecWith ()
38- haskellSyntaxSpecs =
38+ haskellSyntaxSpecs = parallel $ do
3939 describe " Forest haskell syntax" $ do
4040 it " parses a module with multiple assignments" $ do
4141 code <- readFixture " multiple-assignments"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ validSampleSpecs = do
3232 filter (not . isPrefixOf " ." ) <$>
3333 getDirectoryContents " ./test/samples/valid"
3434 specs <- foldl1 (flip (>>) ) <$> mapM testFileIsValid files
35- return $ describe " valid samples" specs
35+ return $ parallel $ describe " valid samples" specs
3636 where
3737 testFileIsValid :: FilePath -> IO (SpecWith () )
3838 testFileIsValid path = do
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ typeCheckerSpecs =
221221 case r of
222222 Right m -> () <$ checkModule m
223223 Left err -> error $ " Failed to parse module: " ++ show err
224- in describe " Type checker" $ do
224+ in parallel $ describe " Type checker" $ do
225225 it " checks valid expressions" $
226226 checkResult (parseModule valid) `shouldBe` Right ()
227227 it " checks valid expressions that use locals" $
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ propCodeThatTypeChecksShouldCompile m =
4444
4545wasmSpecs :: SpecWith ()
4646wasmSpecs =
47- describe " wasm code generation" $
47+ parallel $ describe " wasm code generation" $
4848 it " generates valid wasm for any well typed module" $
4949 withMaxSuccess
5050 1000
You can’t perform that action at this time.
0 commit comments