From b5858c66b1ae318e2288a79e531a30a488b89b5c Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Mon, 20 Aug 2018 10:55:37 -0700 Subject: [PATCH] Use 'arbitraryBoundedEnum' --- .../tests/UnitTests/Distribution/Client/ProjectConfig.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs b/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs index 386b697cf2e..6649e3f65ad 100644 --- a/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs +++ b/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs @@ -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