Slightly more readable test output

This commit is contained in:
Michael Snoyman 2014-09-09 11:24:06 +03:00
parent cb3d316cd3
commit 98a89491f2

View File

@ -138,7 +138,7 @@ runTestSuite cabalVersion settings testdir (packageName, SelectedPackageInfo {..
if passed
then do
removeFile logfile
when expectedFailure $ putStrLn $ package ++ " passed, but I didn't think it would."
when expectedFailure $ putStrLn $ " " ++ package ++ " passed, but I didn't think it would."
else unless expectedFailure $ putStrLn $ concat
[ "Test suite failed: "
, package