File tree 3 files changed +3
-8
lines changed
Cabal/src/Distribution/PackageDescription
tests/UnitTests/Distribution/Client 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ import System.FilePath
70
70
71
71
import qualified Data.ByteString.Lazy as BS
72
72
import qualified Data.Map as Map
73
- import qualified Control.Monad as CM
73
+ import qualified Control.Monad as CM
74
74
import qualified Distribution.Compat.DList as DList
75
75
import qualified Distribution.SPDX as SPDX
76
76
import qualified System.Directory as System
Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ test-suite unit-tests
336
336
tasty-quickcheck,
337
337
tasty-hunit >= 0.10 ,
338
338
tree-diff,
339
- QuickCheck >= 2.14 && < 2.15
339
+ QuickCheck >= 2.14.3 && < 2.15
340
340
341
341
342
342
-- Tests to run with a limited stack and heap size
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import Distribution.Solver.Types.PackageConstraint (PackageProperty (..))
44
44
import Data.Coerce (Coercible , coerce )
45
45
import Network.URI (URI (.. ), URIAuth (.. ), isUnreserved )
46
46
import Test.QuickCheck
47
- import Test.QuickCheck.GenericArbitrary
47
+ import Test.QuickCheck.GenericArbitrary ( genericArbitrary )
48
48
import Test.QuickCheck.Instances.Cabal ()
49
49
50
50
-- note: there are plenty of instances defined in ProjectConfig test file.
@@ -107,11 +107,6 @@ arbitraryURIPort =
107
107
-- cabal-install (and Cabal) types
108
108
-------------------------------------------------------------------------------
109
109
110
- shrinkBoundedEnum :: (Eq a , Enum a , Bounded a ) => a -> [a ]
111
- shrinkBoundedEnum x
112
- | x == minBound = []
113
- | otherwise = [pred x]
114
-
115
110
adjustSize :: (Int -> Int ) -> Gen a -> Gen a
116
111
adjustSize adjust gen = sized (\ n -> resize (adjust n) gen)
117
112
You can’t perform that action at this time.
0 commit comments