Skip to content

Commit

Permalink
Use 'arbitraryBoundedEnum'
Browse files Browse the repository at this point in the history
  • Loading branch information
harpocrates committed Nov 12, 2018
1 parent a06b3e3 commit b5858c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ instance Arbitrary HaddockTarget where
arbitrary = elements [ForHackage, ForDevelopment]

instance Arbitrary TestShowDetails where
arbitrary = elements [Never, Failures, Always, Streaming, Direct]
arbitrary = arbitraryBoundedEnum

instance Arbitrary SourceRepo where
arbitrary = (SourceRepo RepoThis
Expand Down

0 comments on commit b5858c6

Please sign in to comment.