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
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ instance Arbitrary GHCupInfo where
arbitrary = genericArbitrary
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