aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-05-03 15:40:11 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-05-03 15:40:11 +0200
commitdba02d6df32534aac5d257f2d28596238d248942 (patch)
tree49a1e615e14ee09510583403cf19159158324768
parent08aa509ebac58bfb202ea79c7c41291ec280a1c5 (diff)
Disambiguate ‘die’ in test runners.
-rwxr-xr-xhtml-test/run.lhs2
-rwxr-xr-xlatex-test/run.lhs2
2 files changed, 2 insertions, 2 deletions
diff --git a/html-test/run.lhs b/html-test/run.lhs
index 153ab32c..a8664363 100755
--- a/html-test/run.lhs
+++ b/html-test/run.lhs
@@ -41,7 +41,7 @@ main = do
test :: IO ()
test = do
x <- doesFileExist haddockPath
- unless x $ die "you need to run 'cabal build' successfully first"
+ unless x $ System.Exit.die "you need to run 'cabal build' successfully first"
contents <- getDirectoryContents testDir
args <- getArgs
diff --git a/latex-test/run.lhs b/latex-test/run.lhs
index 423dc6fd..c1d48d97 100755
--- a/latex-test/run.lhs
+++ b/latex-test/run.lhs
@@ -41,7 +41,7 @@ main = do
test :: IO ()
test = do
x <- doesFileExist haddockPath
- unless x $ die "you need to run 'cabal build' successfully first"
+ unless x $ System.Exit.die "you need to run 'cabal build' successfully first"
contents <- getDirectoryContents testDir