Skip to content

Commit a232e81

Browse files
authored
Use tasty-quickcheck-0.11 (#1161)
From the [changelog](https://hackage.haskell.org/package/tasty-quickcheck-0.11/changelog): > Produce seeds that run a single failing tests instead of reproducing all the earlier successes ([#410](UnkindPartition/tasty#410)). > > Seeds are now pairs instead of single integers, e.g. `--quickcheck-replay="(SMGen 2909028190965759779 12330386376379709109,0)"` > > Single integer seeds are still accepted as input, but they do run through earlier successes. > > The `QuickCheckReplay` type used as a tasty option has three data constructors now. `QuickCheckReplayNone` is the default value and provides no seed. `QuickCheckReplayLegacy` takes an integer as before. The `QuickCheckReplay` data constructor takes the new seed form. This is very useful both for slow tests, as well as for the WIP nightly tests.
2 parents f931d94 + a28562f commit a232e81

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository cardano-haskell-packages
1414
-- update either of these.
1515
index-state:
1616
-- Bump this if you need newer packages from Hackage
17-
, hackage.haskell.org 2024-06-13T08:49:27Z
17+
, hackage.haskell.org 2024-06-23T23:01:13Z
1818
-- Bump this if you need newer packages from CHaP
1919
, cardano-haskell-packages 2024-06-18T14:00:00Z
2020

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ouroboros-consensus/ouroboros-consensus.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ library unstable-consensus-testlib
419419
tasty,
420420
tasty-golden,
421421
tasty-hunit,
422-
tasty-quickcheck,
422+
tasty-quickcheck >=0.11,
423423
template-haskell,
424424
text,
425425
time,

0 commit comments

Comments
 (0)