;lib, cli: fix success-hiding in unit test suites
This commit is contained in:
parent
dd7d144e82
commit
7ad0f9dd6d
@ -9,5 +9,6 @@ import System.Environment (setEnv)
|
|||||||
import Test.Tasty (defaultMain)
|
import Test.Tasty (defaultMain)
|
||||||
|
|
||||||
main = do
|
main = do
|
||||||
setEnv "TASTY_HIDE_SUCCESSES" "1"
|
setEnv "TASTY_HIDE_SUCCESSES" "true"
|
||||||
|
setEnv "TASTY_ANSI_TRICKS" "false" -- helps the above
|
||||||
defaultMain tests_Hledger
|
defaultMain tests_Hledger
|
||||||
|
|||||||
@ -11,5 +11,6 @@ import System.Environment (setEnv)
|
|||||||
import Test.Tasty (defaultMain)
|
import Test.Tasty (defaultMain)
|
||||||
|
|
||||||
main = do
|
main = do
|
||||||
setEnv "TASTY_HIDE_SUCCESSES" "1"
|
setEnv "TASTY_HIDE_SUCCESSES" "true"
|
||||||
|
setEnv "TASTY_ANSI_TRICKS" "false" -- helps the above
|
||||||
defaultMain tests_Hledger_Cli
|
defaultMain tests_Hledger_Cli
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user