diff options
Diffstat (limited to 'tests/Main.hs')
-rw-r--r-- | tests/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Main.hs b/tests/Main.hs index 6577e6f4..75321ec7 100644 --- a/tests/Main.hs +++ b/tests/Main.hs | |||
@@ -10,6 +10,7 @@ import System.Environment | |||
10 | import System.Process | 10 | import System.Process |
11 | import System.Directory | 11 | import System.Directory |
12 | import Text.Printf | 12 | import Text.Printf |
13 | import Test.Hspec | ||
13 | 14 | ||
14 | import Config | 15 | import Config |
15 | import Spec | 16 | import Spec |
@@ -64,7 +65,7 @@ terminateEnv = do | |||
64 | runTestSuite :: [String] -> IO ExitCode | 65 | runTestSuite :: [String] -> IO ExitCode |
65 | runTestSuite args = do | 66 | runTestSuite args = do |
66 | printf "running hspec test suite with args: %s\n" (show args) | 67 | printf "running hspec test suite with args: %s\n" (show args) |
67 | catch (withArgs args hspecMain >> return ExitSuccess) return | 68 | catch (withArgs args (hspec spec) >> return ExitSuccess) return |
68 | 69 | ||
69 | main :: IO () | 70 | main :: IO () |
70 | main = do | 71 | main = do |