Skip to content

Commit 4dc0af2

Browse files
committed
Bump QuickCheck to <2.17
1 parent 2b58505 commit 4dc0af2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

hackage-security/hackage-security.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ test-suite TestSuite
213213
-- tasty-1.1.0.4 is the version in Stackage LTS 12.26 (GHC 8.4)
214214
tasty-hunit == 0.10.*,
215215
tasty-quickcheck >= 0.10 && < 1,
216-
QuickCheck >= 2.11 && < 2.16,
216+
QuickCheck >= 2.11 && < 2.17,
217217
aeson >= 1.4 && < 1.6 || >= 2.0 && < 2.3,
218218
vector >= 0.12 && < 0.14,
219219
unordered-containers >= 0.2.8.0 && < 0.3,

hackage-security/tests/TestSuite.hs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
module Main (main) where
33

44
-- stdlib
5-
import Control.Exception
6-
import Control.Monad
5+
import Control.Exception ( handleJust )
6+
import Control.Monad ( unless )
77
import Data.Maybe (fromJust)
8-
import Data.Time
9-
import Network.URI (URI, parseURI)
10-
import Test.Tasty
11-
import Test.Tasty.HUnit
12-
import Test.Tasty.QuickCheck hiding (label)
8+
import Data.Time ( UTCTime, getCurrentTime )
9+
import Network.URI ( URI, parseURI )
10+
import Test.Tasty ( defaultMain, testGroup, TestTree )
11+
import Test.Tasty.HUnit ( testCase, (@?=), assertEqual, assertFailure, Assertion )
12+
import Test.Tasty.QuickCheck ( testProperty )
1313
import System.IO.Temp (withSystemTempDirectory)
1414
import qualified Codec.Archive.Tar.Entry as Tar
1515
import qualified Data.ByteString.Lazy.Char8 as BS

0 commit comments

Comments
 (0)