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
text
Commits
85ffb4a1
Commit
85ffb4a1
authored
Nov 13, 2021
by
Bodigrim
Committed by
Xia Li-yao
Nov 14, 2021
Browse files
Tests: keep compatible with ancient QuickCheck
parent
56cba054
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/Tests/QuickCheckUtils.hs
View file @
85ffb4a1
...
...
@@ -35,7 +35,8 @@ import Data.Char (isSpace)
import
Data.Text.Foreign
(
I8
)
import
Data.Text.Lazy.Builder.RealFloat
(
FPFormat
(
..
))
import
Data.Word
(
Word8
,
Word16
)
import
Test.QuickCheck
hiding
(
Fixed
(
..
),
Small
(
..
),
(
.&.
))
import
Test.QuickCheck
(
Arbitrary
(
..
),
arbitraryUnicodeChar
,
arbitraryBoundedEnum
,
getUnicodeString
,
arbitrarySizedIntegral
,
shrinkIntegral
,
Property
,
ioProperty
,
discard
,
counterexample
,
(
===
),
(
.&&.
),
NonEmptyList
(
..
))
import
Test.QuickCheck.Gen
(
Gen
,
choose
,
chooseAny
,
elements
,
frequency
,
listOf
,
oneof
,
resize
,
sized
)
import
Tests.Utils
import
qualified
Data.ByteString
as
B
import
qualified
Data.ByteString.Lazy
as
BL
...
...
text.cabal
View file @
85ffb4a1
...
...
@@ -220,7 +220,7 @@ test-suite tests
Tests.Utils
build-depends:
QuickCheck >= 2.1
4.1
&& < 2.15,
QuickCheck >= 2.1
2.6
&& < 2.15,
base <5,
bytestring,
deepseq,
...
...
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