;lib, cli: hide successes in unit test suites' output
This commit is contained in:
parent
67d7aae7dc
commit
5ab31f1111
@ -5,7 +5,9 @@ Run the hledger-lib package's unit tests using the tasty test runner.
|
||||
-- package-qualified import to avoid cabal missing-home-modules warning (and double-building ?)
|
||||
{-# LANGUAGE PackageImports #-}
|
||||
import "hledger-lib" Hledger (tests_Hledger)
|
||||
|
||||
import System.Environment (setEnv)
|
||||
import Test.Tasty (defaultMain)
|
||||
|
||||
main = defaultMain tests_Hledger
|
||||
main = do
|
||||
setEnv "TASTY_HIDE_SUCCESSES" "1"
|
||||
defaultMain tests_Hledger
|
||||
|
||||
@ -7,7 +7,9 @@ Run the hledger package's unit tests using the tasty test runner
|
||||
-- {-# LANGUAGE PackageImports #-}
|
||||
-- import "hledger" Hledger.Cli (tests_Hledger_Cli)
|
||||
import Hledger.Cli (tests_Hledger_Cli)
|
||||
|
||||
import System.Environment (setEnv)
|
||||
import Test.Tasty (defaultMain)
|
||||
|
||||
main = defaultMain tests_Hledger_Cli
|
||||
main = do
|
||||
setEnv "TASTY_HIDE_SUCCESSES" "1"
|
||||
defaultMain tests_Hledger_Cli
|
||||
|
||||
Loading…
Reference in New Issue
Block a user