summaryrefslogtreecommitdiff
path: root/tests/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Main.hs')
-rw-r--r--tests/Main.hs3
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
10import System.Process 10import System.Process
11import System.Directory 11import System.Directory
12import Text.Printf 12import Text.Printf
13import Test.Hspec
13 14
14import Config 15import Config
15import Spec 16import Spec
@@ -64,7 +65,7 @@ terminateEnv = do
64runTestSuite :: [String] -> IO ExitCode 65runTestSuite :: [String] -> IO ExitCode
65runTestSuite args = do 66runTestSuite 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
69main :: IO () 70main :: IO ()
70main = do 71main = do