about summary refs log tree commit diff
path: root/users/grfn/xanthous/test
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/xanthous/test')
-rw-r--r--users/grfn/xanthous/test/Spec.hs2
-rw-r--r--users/grfn/xanthous/test/Test/Prelude.hs2
2 files changed, 3 insertions, 1 deletions
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 ()