From cbfc7c18e1aa6c498d2fc7bdecf2f127b6582dbd Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 4 Apr 2013 00:26:05 +0200 Subject: Debug info for Alternative instances See #126 --- tests/TestSuite/Util.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/TestSuite') 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 -- cgit v1.2.3