Skip to content

Commit 07dfb1e

Browse files
committed
Fix tests
1 parent 6ff07d3 commit 07dfb1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/GHCup/ArbitraryTypes.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ instance Arbitrary GHCupInfo where
183183
arbitrary = genericArbitrary
184184
shrink = genericShrink
185185

186+
instance Arbitrary GHCTargetVersion where
187+
arbitrary = GHCTargetVersion Nothing <$> arbitrary
188+
shrink = genericShrink
189+
186190

187191
-- our maps are nested... the default size easily blows up most ppls ram
188192

0 commit comments

Comments
 (0)