about summary refs log tree commit diff
path: root/users/grfn/xanthous
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/xanthous')
-rw-r--r--users/grfn/xanthous/package.yaml1
-rw-r--r--users/grfn/xanthous/pkg.nix8
-rw-r--r--users/grfn/xanthous/test/Spec.hs2
-rw-r--r--users/grfn/xanthous/test/Test/Prelude.hs2
-rw-r--r--users/grfn/xanthous/xanthous.cabal3
5 files changed, 10 insertions, 6 deletions
diff --git a/users/grfn/xanthous/package.yaml b/users/grfn/xanthous/package.yaml
index 605b1cab8c7e..630dc69c11d3 100644
--- a/users/grfn/xanthous/package.yaml
+++ b/users/grfn/xanthous/package.yaml
@@ -140,6 +140,7 @@ tests:
     - tasty
     - tasty-hunit
     - tasty-quickcheck
+    - tasty-rerun
     - lens-properties
 
 benchmarks:
diff --git a/users/grfn/xanthous/pkg.nix b/users/grfn/xanthous/pkg.nix
index 020fa18266ea..0f0dbfc9822d 100644
--- a/users/grfn/xanthous/pkg.nix
+++ b/users/grfn/xanthous/pkg.nix
@@ -10,8 +10,8 @@
 , quickcheck-text, random, random-extras, random-fu, random-source
 , Rasterific, raw-strings-qq, reflection, semigroupoids, semigroups
 , splitmix, stache, streams, tasty, tasty-hunit, tasty-quickcheck
-, text, text-zipper, tomland, transformers, vector, vty, witherable
-, yaml, zlib
+, tasty-rerun, text, text-zipper, tomland, transformers, vector
+, vty, witherable, yaml, zlib
 }:
 mkDerivation {
   pname = "xanthous";
@@ -57,8 +57,8 @@ mkDerivation {
     quickcheck-instances quickcheck-text random random-extras random-fu
     random-source Rasterific raw-strings-qq reflection semigroupoids
     semigroups splitmix stache streams tasty tasty-hunit
-    tasty-quickcheck text text-zipper tomland transformers vector vty
-    witherable yaml zlib
+    tasty-quickcheck tasty-rerun text text-zipper tomland transformers
+    vector vty witherable yaml zlib
   ];
   benchmarkHaskellDepends = [
     aeson array async base bifunctors brick checkers classy-prelude
diff --git a/users/grfn/xanthous/test/Spec.hs b/users/grfn/xanthous/test/Spec.hs
index dfecfbdd21c5..c8b0ef0079f7 100644
--- a/users/grfn/xanthous/test/Spec.hs
+++ b/users/grfn/xanthous/test/Spec.hs
@@ -26,7 +26,7 @@ import qualified Xanthous.UtilSpec
 --------------------------------------------------------------------------------
 
 main :: IO ()
-main = defaultMain test
+main = defaultMainWithRerun test
 
 test :: TestTree
 test = testGroup "Xanthous"
diff --git a/users/grfn/xanthous/test/Test/Prelude.hs b/users/grfn/xanthous/test/Test/Prelude.hs
index 2df0a6290a02..75c1ebf5e76a 100644
--- a/users/grfn/xanthous/test/Test/Prelude.hs
+++ b/users/grfn/xanthous/test/Test/Prelude.hs
@@ -5,6 +5,7 @@ module Test.Prelude
   , module Test.Tasty
   , module Test.Tasty.HUnit
   , module Test.Tasty.QuickCheck
+  , module Test.Tasty.Ingredients.Rerun
   , module Test.QuickCheck.Classes
   , testBatch
   , jsonRoundTrip
@@ -15,6 +16,7 @@ import           Xanthous.Prelude hiding (assert, elements)
 import           Test.Tasty
 import           Test.Tasty.QuickCheck
 import           Test.Tasty.HUnit
+import           Test.Tasty.Ingredients.Rerun
 import           Test.QuickCheck.Classes
 import           Test.QuickCheck.Checkers (TestBatch, EqProp ((=-=)))
 import           Test.QuickCheck.Instances.ByteString ()
diff --git a/users/grfn/xanthous/xanthous.cabal b/users/grfn/xanthous/xanthous.cabal
index 5dc046dbecf4..9cf6636d7a74 100644
--- a/users/grfn/xanthous/xanthous.cabal
+++ b/users/grfn/xanthous/xanthous.cabal
@@ -4,7 +4,7 @@ cabal-version: 1.12
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 2db6cb1320baa23f71c24dff106bf682fb21e38c602d57e7e99297ae6abdc772
+-- hash: 96c5446afd429c3e2166158e317c18a69be9bad8ce76de85f69abda4f9aa162c
 
 name:           xanthous
 version:        0.1.0.0
@@ -405,6 +405,7 @@ test-suite test
     , tasty
     , tasty-hunit
     , tasty-quickcheck
+    , tasty-rerun
     , text
     , text-zipper
     , tomland