summaryrefslogtreecommitdiff
path: root/tests/TestSuite/Util.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestSuite/Util.hs')
-rw-r--r--tests/TestSuite/Util.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestSuite/Util.hs b/tests/TestSuite/Util.hs
index ef8768c..e727ecb 100644
--- a/tests/TestSuite/Util.hs
+++ b/tests/TestSuite/Util.hs
@@ -12,6 +12,7 @@ module TestSuite.Util
--------------------------------------------------------------------------------
+import Data.List (intercalate)
import Data.Monoid (mempty)
import qualified Data.Set as S
import Test.Framework
@@ -78,7 +79,7 @@ testCompilerDone store provider underlying compiler = do
CompilerDone x _ -> return x
CompilerError e -> error $
"TestSuite.Util.testCompilerDone: compiler " ++ show underlying ++
- " threw: " ++ e
+ " threw: " ++ intercalate "; " e
CompilerRequire i _ -> error $
"TestSuite.Util.testCompilerDone: compiler " ++ show underlying ++
" requires: " ++ show i