Skip to content

Commit

Permalink
Fixed issue #395
Browse files Browse the repository at this point in the history
  • Loading branch information
coot authored and andreasabel committed Nov 3, 2023
1 parent 410a9a4 commit 1147251
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/Test/Tasty/Ingredients/ConsoleReporter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,9 @@ consoleOutput toutput smap =
, Any True)
foldHeading _name printHeading (printBody, Any nonempty) =
( Traversal $ do
when nonempty $ printHeading
getTraversal printBody
when nonempty $ do
printHeading :: IO ()
getTraversal printBody
, Any nonempty
)

Expand Down

0 comments on commit 1147251

Please sign in to comment.