Skip to content

Commit

Permalink
Merge pull request #12 from sol/master
Browse files Browse the repository at this point in the history
Preserve layout of HUnit error messages (close #11)
  • Loading branch information
batterseapower committed Jan 27, 2012
2 parents e877afd + ad18657 commit e0bbbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hunit/Test/Framework/Providers/HUnit.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ data TestCaseResult = TestCasePassed
instance Show TestCaseResult where
show result = case result of
TestCasePassed -> "OK"
TestCaseFailed message -> "Failed: " ++ message
TestCaseFailed message -> message
TestCaseError message -> "ERROR: " ++ message

testCaseSucceeded :: TestCaseResult -> Bool
Expand Down

0 comments on commit e0bbbc3

Please sign in to comment.