Fix tests

This commit is contained in:
Julian Ospald 2023-07-08 00:07:29 +08:00
parent 6ff07d3dbc
commit 07dfb1e94b
No known key found for this signature in database
GPG Key ID: CCC85C0E40C06A8C

View File

@ -183,6 +183,10 @@ instance Arbitrary GHCupInfo where
arbitrary = genericArbitrary arbitrary = genericArbitrary
shrink = genericShrink shrink = genericShrink
instance Arbitrary GHCTargetVersion where
arbitrary = GHCTargetVersion Nothing <$> arbitrary
shrink = genericShrink
-- our maps are nested... the default size easily blows up most ppls ram -- our maps are nested... the default size easily blows up most ppls ram