Skip to content

Commit

Permalink
Fix colors in console reporter, resolves #298
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed May 19, 2023
1 parent 54f6bce commit d4bcb40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/Test/Tasty/Ingredients/ConsoleReporter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,9 @@ ok, fail, skipped, infoOk, infoFail :: (?colors :: Bool) => String -> IO ()
fail = output failFormat
ok = output okFormat
skipped = output skippedFormat
infoOk = output infoOkFormat
-- Just default foreground color for 'infoOk'; do not apply 'infoOkFormat',
-- because terminal's background could be white itself. See #298.
infoOk = putStr
infoFail = output infoFailFormat

output
Expand Down

0 comments on commit d4bcb40

Please sign in to comment.