packages feed

tasty-golden 2.3.1.2 → 2.3.1.3

raw patch · 3 files changed

+11/−10 lines, 3 filesdep ~tastyPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: tasty

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,6 +1,12 @@ Changes ======= +Version 2.3.1.3+---------------++* Make the environment variable `TASTY_ACCEPT=True` work, and make the value+    case-insensitive (so `TASTY_ACCEPT=true` works, too)+ Version 2.3.1.2 --------------- 
Test/Tasty/Golden/Internal.hs view
@@ -29,15 +29,10 @@   deriving (Eq, Ord, Typeable) instance IsOption AcceptTests where   defaultValue = AcceptTests False-  parseValue = fmap AcceptTests . safeRead+  parseValue = fmap AcceptTests . safeReadBool   optionName = return "accept"   optionHelp = return "Accept current results of golden tests"-  optionCLParser =-    fmap AcceptTests $-    switch-      (  long (untag (optionName :: Tagged AcceptTests String))-      <> help (untag (optionHelp :: Tagged AcceptTests String))-      )+  optionCLParser = flagCLParser Nothing (AcceptTests True)  instance IsTest Golden where   run opts golden _ = runGolden golden (lookupOption opts)
tasty-golden.cabal view
@@ -1,5 +1,5 @@ name:                tasty-golden-version:             2.3.1.2+version:             2.3.1.3 synopsis:            Golden tests support for tasty description:   This package provides support for «golden testing».@@ -40,7 +40,7 @@    build-depends:     base ==4.*,-    tasty >= 0.8,+    tasty >= 1.0.1,     bytestring >= 0.10,     process,     mtl,@@ -64,7 +64,7 @@     test.hs   Build-depends:       base >= 4 && < 5-    , tasty >= 0.8+    , tasty     , tasty-hunit     , tasty-golden     , filepath