Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b992faed
Commit
b992faed
authored
Jan 08, 2017
by
Robert Henderson
Browse files
Corrected minor error (forgot to delete old instance).
parent
702a39d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs
View file @
b992faed
...
...
@@ -564,16 +564,6 @@ instance Arbitrary RemoteRepo where
shortListOf1
5
(
oneof
[
choose
(
'0'
,
'9'
)
,
choose
(
'a'
,
'f'
)
])
instance
Arbitrary
UserConstraint
where
arbitrary
=
oneof
[
UserConstraintVersion
<$>
arbitrary
<*>
arbitrary
,
UserConstraintInstalled
<$>
arbitrary
,
UserConstraintSource
<$>
arbitrary
,
UserConstraintFlags
<$>
arbitrary
<*>
shortListOf1
3
arbitrary
,
UserConstraintStanzas
<$>
arbitrary
<*>
((
\
x
->
[
x
])
<$>
arbitrary
)
]
instance
Arbitrary
UserConstraint
where
arbitrary
=
oneof
[
UserConstraint
UserUnqualified
<$>
arbitrary
<*>
prop
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment