Add global before/after hspec hook in test/Main.hs

This commit is contained in:
Joe Nelson
2014-08-17 21:21:47 -07:00
parent f42f7769e1
commit 9df8a7b99b
5 changed files with 14 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
module Main where
import Test.Hspec
import Spec
main :: IO ()
main = do
putStrLn "before spec"
hspec spec
putStrLn "after spec"