Skip to content

Commit

Permalink
Merge pull request #23 from friedbrice/dev
Browse files Browse the repository at this point in the history
make compile test platform independent
  • Loading branch information
friedbrice authored Aug 17, 2020
2 parents 3404197 + d13d156 commit abd39d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ test resolver = hspec $ do
it "should load in compile mode" $ do
(status, out, err) <- runhs resolver Compile helloHaskell [] ""
status `shouldBe` Sys.ExitSuccess
out `shouldContain` "Linking test/resources/hello-haskell"
out `shouldContain` "Compiling Main"
out `shouldContain` "hello-haskell.hs"
err `shouldContain` unwords ["Selected resolver:", resolver]
Sys.removePathForcibly "test/resources/hello-haskell.o"
Sys.removePathForcibly "test/resources/hello-haskell.hi"
Expand Down

0 comments on commit abd39d7

Please sign in to comment.