Skip to content

Commit

Permalink
Update lib/core/test/unit/Cardano/Pool/DB/Arbitrary.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Knowles <jonathan.knowles@iohk.io>
  • Loading branch information
hasufell and jonathanknowles committed Oct 26, 2020
1 parent 26f1b02 commit 2d576ee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/core/test/unit/Cardano/Pool/DB/Arbitrary.hs
Expand Up @@ -166,10 +166,7 @@ instance Arbitrary PoolOwner where
return $ PoolOwner $ B8.pack (replicate 32 byte)

instance Arbitrary PoolFlag where
arbitrary = elements
[ Delisted
, NoPoolFlag
]
arbitrary = arbitraryBoundedEnum
shrink = const []

instance Arbitrary PoolRegistrationCertificate where
Expand Down

0 comments on commit 2d576ee

Please sign in to comment.