packages feed

tasty 0.10.0.2 → 0.10.0.3

raw patch · 3 files changed

+11/−4 lines, 3 files

Files

CHANGELOG.md view
@@ -1,6 +1,11 @@ Changes ======= +Version 0.10.0.3+----------------++Better handle the situation when there are no ingredients to run+ Version 0.10.0.2 ---------------- 
Test/Tasty/CmdLine.hs view
@@ -12,6 +12,7 @@ import Data.Proxy import Data.Foldable import System.Exit+import System.IO  import Test.Tasty.Core import Test.Tasty.Ingredients@@ -45,9 +46,10 @@   let opts = envOpts <> cmdlineOpts    case tryIngredients ins opts testTree of-    Nothing ->-      putStrLn-        "This doesn't taste right. Check your ingredients — did you forget a test reporter?"+    Nothing -> do+      hPutStrLn stderr+        "No ingredients agreed to run. Something is wrong either with your ingredient set or the options."+      exitFailure     Just act -> do       ok <- act       if ok then exitSuccess else exitFailure
tasty.cabal view
@@ -2,7 +2,7 @@ --  see http://haskell.org/cabal/users-guide/  name:                tasty-version:             0.10.0.2+version:             0.10.0.3 synopsis:            Modern and extensible testing framework description:         Tasty is a modern testing framework for Haskell.                      It lets you combine your unit tests, golden