cli: hide successes in hledger package's tests output, also
This commit is contained in:
parent
54d33ce028
commit
85e5bd0978
@ -1,6 +1,13 @@
|
||||
import Hledger.Cli (tests_Hledger_Cli)
|
||||
import System.Environment (getArgs)
|
||||
import Test.Framework.Providers.HUnit (hUnitTestToTests)
|
||||
import Test.Framework.Runners.Console (defaultMain)
|
||||
import Test.Framework.Runners.Console (defaultMainWithArgs)
|
||||
|
||||
main :: IO ()
|
||||
main = defaultMain $ hUnitTestToTests tests_Hledger_Cli
|
||||
main = do
|
||||
args <- getArgs
|
||||
let args' = "--hide-successes" : args
|
||||
defaultMainWithArgs (hUnitTestToTests tests_Hledger_Cli) args'
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user