;lib, cli: fix success-hiding in unit test suites

This commit is contained in:
Simon Michael 2020-03-07 14:10:22 -08:00
parent dd7d144e82
commit 7ad0f9dd6d
2 changed files with 4 additions and 2 deletions

View File

@ -9,5 +9,6 @@ import System.Environment (setEnv)
import Test.Tasty (defaultMain)
main = do
setEnv "TASTY_HIDE_SUCCESSES" "1"
setEnv "TASTY_HIDE_SUCCESSES" "true"
setEnv "TASTY_ANSI_TRICKS" "false" -- helps the above
defaultMain tests_Hledger

View File

@ -11,5 +11,6 @@ import System.Environment (setEnv)
import Test.Tasty (defaultMain)
main = do
setEnv "TASTY_HIDE_SUCCESSES" "1"
setEnv "TASTY_HIDE_SUCCESSES" "true"
setEnv "TASTY_ANSI_TRICKS" "false" -- helps the above
defaultMain tests_Hledger_Cli