Skip to content

Commit

Permalink
fix: Downgrade Hedgehog to version 1.1
Browse files Browse the repository at this point in the history
Fixes an issue where Hedgehog sometimes fails to replay correctly in the presence of discards, particularly in our `tasty_available_actions_accepted` test: hedgehogqa/haskell-hedgehog#487.

Signed-off-by: George Thomas <[email protected]>
  • Loading branch information
georgefst committed May 22, 2023
1 parent 80114ca commit a646704
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions primer-service/primer-service.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ test-suite service-test
, aeson-pretty
, base
, bytestring
, hedgehog ^>=1.2
, hedgehog ^>=1.1
, hedgehog-quickcheck ^>=0.1.1
, hspec ^>=2.10
, openapi3
Expand All @@ -209,7 +209,7 @@ test-suite service-test
, tasty ^>=1.4.1
, tasty-discover ^>=5.0
, tasty-golden ^>=2.3.5
, tasty-hedgehog ^>=1.4
, tasty-hedgehog ^>=1.3
, tasty-hspec ^>=1.2.0.1
, tasty-hunit ^>=0.10.0
, text
Expand Down
4 changes: 2 additions & 2 deletions primer/primer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ library primer-hedgehog
build-depends:
, base
, containers
, hedgehog ^>=1.2
, hedgehog ^>=1.1
, mmorph ^>=1.2.0
, mtl
, primer
, primer-testlib
, tasty-discover ^>=5.0
, tasty-hedgehog ^>=1.4
, tasty-hedgehog ^>=1.3

library primer-testlib
visibility: public
Expand Down

0 comments on commit a646704

Please sign in to comment.