tasty 0.8 → 0.8.0.2
raw patch · 2 files changed
+4/−16 lines, 2 files
Files
- Test/Tasty/Ingredients/ConsoleReporter.hs +1/−11
- tasty.cabal +3/−5
Test/Tasty/Ingredients/ConsoleReporter.hs view
@@ -1,5 +1,5 @@ -- vim:fdm=marker:foldtext=foldtext()-{-# LANGUAGE BangPatterns, CPP, ImplicitParams, MultiParamTypeClasses, DeriveDataTypeable #-}+{-# LANGUAGE BangPatterns, ImplicitParams, MultiParamTypeClasses, DeriveDataTypeable #-} -- | Console reporter ingredient module Test.Tasty.Ingredients.ConsoleReporter ( consoleTestReporter@@ -27,10 +27,7 @@ import Data.Typeable import Data.Foldable (foldMap) import System.IO--#ifdef COLORS import System.Console.ANSI-#endif -------------------------------------------------- -- TestOutput base definitions@@ -421,7 +418,6 @@ -- (Potentially) colorful output ok, fail, infoOk, infoFail :: (?colors :: Bool) => String -> IO ()-#ifdef COLORS fail = output BoldIntensity Vivid Red ok = output NormalIntensity Dull Green infoOk = output NormalIntensity Dull White@@ -444,11 +440,5 @@ putStr str ) `finally` setSGR [] | otherwise = putStr str-#else-ok = putStr-fail = putStr-infoOk = putStr-infoFail = putStr-#endif -- }}}
tasty.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: tasty-version: 0.8+version: 0.8.0.2 synopsis: Modern and extensible testing framework description: See <http://documentup.com/feuerbach/tasty> license: MIT@@ -55,15 +55,13 @@ optparse-applicative >= 0.6, deepseq >= 1.3, unbounded-delays >= 0.1,- async >= 2.0+ async >= 2.0,+ ansi-terminal >= 0.6.1 if impl(ghc < 7.6) -- for GHC.Generics build-depends: ghc-prim - if flag(colors)- build-depends: ansi-terminal >= 0.6.1- cpp-options: -DCOLORS -- hs-source-dirs: default-language: Haskell2010 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing