We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9f6ab commit b57838fCopy full SHA for b57838f
cabal-install/tests/UnitTests/Distribution/Client/ArbitraryInstances.hs
@@ -121,7 +121,7 @@ instance Arbitrary PackageName where
121
packageChars = filter isAlphaNum ['\0'..'\127']
122
123
instance Arbitrary Dependency where
124
- arbitrary = Dependency <$> arbitrary <*> arbitrary <*> arbitrary
+ arbitrary = Dependency <$> arbitrary <*> arbitrary <*> fmap getNonMEmpty arbitrary
125
126
instance Arbitrary UnqualComponentName where
127
-- same rules as package names
0 commit comments