tasty 0.3 → 0.3.1
raw patch · 3 files changed
+8/−3 lines, 3 filesdep ~optparse-applicative
Dependency ranges changed: optparse-applicative
Files
- Test/Tasty/Options.hs +3/−1
- Test/Tasty/UI.hs +3/−0
- tasty.cabal +2/−2
Test/Tasty/Options.hs view
@@ -27,6 +27,7 @@ import Data.Monoid import Options.Applicative+import Options.Applicative.Types -- | An option is a data type that inhabits the `IsOption` type class. class Typeable v => IsOption v where@@ -60,8 +61,9 @@ name = untag (optionName :: Tagged v String) helpString = untag (optionHelp :: Tagged v String) parse =+ ReadM . maybe (Left (ErrorMsg $ "Could not parse " ++ name)) Right .- parseValue+ parseValue data OptionValue = forall v . IsOption v => OptionValue v
Test/Tasty/UI.hs view
@@ -98,6 +98,9 @@ hSetBuffering stdout NoBuffering + -- Do not retain the reference to the tree more than necessary+ _ <- evaluate alignment+ st <- flip execStateT initialState $ getApp $ fst $ foldTestTree
tasty.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: tasty-version: 0.3+version: 0.3.1 synopsis: Modern and extensible testing framework description: See <http://documentup.com/feuerbach/tasty> license: MIT@@ -44,7 +44,7 @@ mtl, tagged >= 0.5, regex-posix,- optparse-applicative >= 0.5+ optparse-applicative >= 0.6 if flag(colors) build-depends: ansi-terminal