From 5ccb477a50f6f098add11ddbb8d46c0e1e26dd90 Mon Sep 17 00:00:00 2001 From: VegOwOtenks Date: Mon, 18 Aug 2025 20:09:21 +0200 Subject: [PATCH] fix[test]: Don't test read/show instances for more than a second --- test/Test/Data/Map/Implicit.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Test/Data/Map/Implicit.hs b/test/Test/Data/Map/Implicit.hs index a252137..4f38074 100644 --- a/test/Test/Data/Map/Implicit.hs +++ b/test/Test/Data/Map/Implicit.hs @@ -33,5 +33,6 @@ allTests :: [(String, Property)] allTests = $allProperties testGroup :: TestTree -testGroup = Tasty.localOption (QuickCheckMaxSize 25) -- it is necessary to restrain the size because the generated core would get veeeeeery big otherwise +testGroup = Tasty.localOption (QuickCheckMaxSize 5) -- anything above 25 doesn't finish in reasonable time on my laptop $ Tasty.QuickCheck.testProperties $moduleName allTests + -- I don't want to stress-tess or bench-mark it, just prove it works cause I hacked a little around it.