Render ASCII drawing of test tree
This commit is contained in:
parent
ce8cfeca67
commit
9246597b49
@ -19,7 +19,7 @@ import Text.Pretty.Simple (pPrintForceColor)
|
|||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
pPrintForceColor $ getTestTree tests
|
putStrLn $ drawTree $ show <$> getTestTree tests
|
||||||
pPrintForceColor =<< runTests () tests
|
pPrintForceColor =<< runTests () tests
|
||||||
|
|
||||||
tests :: TestTree IO ()
|
tests :: TestTree IO ()
|
||||||
|
|||||||
@ -27,6 +27,7 @@ module Pre (
|
|||||||
module Data.Text,
|
module Data.Text,
|
||||||
module Data.Text.Encoding,
|
module Data.Text.Encoding,
|
||||||
module Data.Traversable,
|
module Data.Traversable,
|
||||||
|
module Data.Tree,
|
||||||
module Data.Tuple.Extra,
|
module Data.Tuple.Extra,
|
||||||
module Data.Void,
|
module Data.Void,
|
||||||
module Data.Word,
|
module Data.Word,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user