Commit 85ffb4a1 authored by Bodigrim's avatar Bodigrim Committed by Xia Li-yao
Browse files

Tests: keep compatible with ancient QuickCheck

parent 56cba054
...@@ -35,7 +35,8 @@ import Data.Char (isSpace) ...@@ -35,7 +35,8 @@ import Data.Char (isSpace)
import Data.Text.Foreign (I8) import Data.Text.Foreign (I8)
import Data.Text.Lazy.Builder.RealFloat (FPFormat(..)) import Data.Text.Lazy.Builder.RealFloat (FPFormat(..))
import Data.Word (Word8, Word16) 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 Tests.Utils
import qualified Data.ByteString as B import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as BL import qualified Data.ByteString.Lazy as BL
......
...@@ -220,7 +220,7 @@ test-suite tests ...@@ -220,7 +220,7 @@ test-suite tests
Tests.Utils Tests.Utils
build-depends: build-depends:
QuickCheck >= 2.14.1 && < 2.15, QuickCheck >= 2.12.6 && < 2.15,
base <5, base <5,
bytestring, bytestring,
deepseq, deepseq,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment