tasty-hedgehog 1.4.0.0 → 1.4.0.1
raw patch · 3 files changed
+11/−6 lines, 3 filesdep ~basedep ~hedgehog
Dependency ranges changed: base, hedgehog
Files
- changelog.md +5/−0
- src/Test/Tasty/Hedgehog.hs +3/−3
- tasty-hedgehog.cabal +3/−3
changelog.md view
@@ -1,5 +1,10 @@ # Revision history for tasty-hedgehog +## 1.4.0.1 -- 2023-03-15++* Support base 4.18 (GHC 9.6)+* Improve suggested test replay command+ ## 1.4.0.0 -- 2022-10-12 * Support `hedgehog-1.2`. This is a breaking change due to `hedgehog`'s [new mechanism for skipping to a particular test and shrink result](https://github.com/hedgehogqa/haskell-hedgehog/pull/454). The `--hedgehog-replay` option now expects a `Skip` value and a `Seed`, for example: `stack test --test-arguments='--pattern "$NF ~ /badReverse involutive fails/" --hedgehog-replay "3:b2 Seed 10332913068362713902 1302058653756691475"'` ([#63](https://github.com/qfpl/tasty-hedgehog/pull/63))
src/Test/Tasty/Hedgehog.hs view
@@ -179,13 +179,13 @@ replayStr = if showReplay then- "\nUse '--pattern \"$NF ~ /" +++ "\nUse \"--pattern \'$NF ~ /" ++ testName ++- "/\" --hedgehog-replay \"" +++ "/\' --hedgehog-replay \'" ++ skipCompress (SkipToShrink count $ failureShrinkPath fr) ++ " " ++ show seed ++- "\"' to reproduce from the command-line."+ "\'\" to reproduce from the command-line." else "" in s ++ replayStr ++ "\n"
tasty-hedgehog.cabal view
@@ -1,5 +1,5 @@ name: tasty-hedgehog-version: 1.4.0.0+version: 1.4.0.1 license: BSD3 license-file: LICENCE author: Dave Laing@@ -21,7 +21,7 @@ library exposed-modules: Test.Tasty.Hedgehog- build-depends: base >= 4.8 && <4.18+ build-depends: base >= 4.8 && <4.19 , tagged >= 0.8 && < 0.9 , tasty >= 0.11 && < 1.5 , hedgehog >= 1.2 && < 1.3@@ -33,7 +33,7 @@ type: exitcode-stdio-1.0 main-is: Main.hs hs-source-dirs: test- build-depends: base >= 4.8 && <4.18+ build-depends: base >= 4.8 && <4.19 , tasty >= 0.11 && < 1.5 , tasty-expected-failure >= 0.11 && < 0.13 , hedgehog >= 1.2 && < 1.3