aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-08-14 20:26:03 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-08-14 20:26:03 +0100
commit574d3c13ff139e120e6a2601ea6cec676ab8ba16 (patch)
treefef762b869148e70566bec99277529b56105fbd2
parent3f71dfef212ef3911e544ecc20aae1e7fddc5352 (diff)
Revert "Disambiguate ‘die’ in test runners."
This reverts commit dba02d6df32534aac5d257f2d28596238d248942.
-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 a8664363..153ab32c 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 $ System.Exit.die "you need to run 'cabal build' successfully first"
+ unless x $ 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 c1d48d97..423dc6fd 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 $ System.Exit.die "you need to run 'cabal build' successfully first"
+ unless x $ die "you need to run 'cabal build' successfully first"
contents <- getDirectoryContents testDir