packages feed

tasty-golden 2.3.3.1 → 2.3.3.2

raw patch · 3 files changed

+9/−7 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,6 +1,11 @@ Changes ======= +Version 2.3.3.2+---------------++* Fix a bug where the `TASTY_SIZE_CUTOFF` env. variable would be ignored+ Version 2.3.3.1 --------------- 
Test/Tasty/Golden/Internal.hs view
@@ -8,7 +8,7 @@ import Data.Proxy import Data.Int import System.IO.Error (isDoesNotExistError)-import Options.Applicative (metavar, showDefaultWith, value)+import Options.Applicative (metavar) import Test.Tasty.Providers import Test.Tasty.Options #if !MIN_VERSION_base(4,11,0)@@ -58,11 +58,8 @@   defaultValue = 1000   parseValue = fmap SizeCutoff . safeRead . filter (/= '_')   optionName = return "size-cutoff"-  optionHelp = return "hide golden test output if it's larger than n bytes"-  optionCLParser = mkOptionCLParser $-    metavar "n" <>-    value defaultValue <>-    showDefaultWith (show . getSizeCutoff)+  optionHelp = return "hide golden test output if it's larger than n bytes (default: 1000)"+  optionCLParser = mkOptionCLParser $ metavar "n"  instance IsTest Golden where   run opts golden _ = runGolden golden opts
tasty-golden.cabal view
@@ -1,5 +1,5 @@ name:                tasty-golden-version:             2.3.3.1+version:             2.3.3.2 synopsis:            Golden tests support for tasty description:   This package provides support for «golden testing».