Skip to content

Commit

Permalink
Add test for interpreterSupported
Browse files Browse the repository at this point in the history
Not much to test here than that it does not thrown an exception, e.g.
due to a change of format to ghc --info
  • Loading branch information
nomeata authored and sol committed Apr 1, 2013
1 parent 9cc662c commit ac2d60d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/InterpreterSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ action `shouldEvaluateTo` expected = action >>= (`shouldBe` expected)
spec :: Spec
spec = do
describe "Interpreter" $ do
it "knows whether it works" $ do
(Interpreter.interpreterSupported >> return ()) `shouldReturn` ()

it "terminates on SIGINT" $ do
#ifdef mingw32_HOST_OS
pending
Expand Down

0 comments on commit ac2d60d

Please sign in to comment.