Skip to content

Commit 4f4ca69

Browse files
committed
Merge pull request #476 from trofi/master
Fix doctests failure when testpack or checkers are installed
2 parents e021678 + c064f94 commit 4f4ca69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

servant/test/Servant/API/ContentTypesSpec.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{-# LANGUAGE DeriveGeneric #-}
44
{-# LANGUAGE MultiParamTypeClasses #-}
55
{-# LANGUAGE OverloadedStrings #-}
6+
{-# LANGUAGE PackageImports #-}
67
{-# LANGUAGE PolyKinds #-}
78
{-# OPTIONS_GHC -fno-warn-orphans #-}
89
module Servant.API.ContentTypesSpec where
@@ -28,7 +29,7 @@ import GHC.Generics
2829
import Network.URL (exportParams, importParams)
2930
import Test.Hspec
3031
import Test.QuickCheck
31-
import Test.QuickCheck.Instances ()
32+
import "quickcheck-instances" Test.QuickCheck.Instances ()
3233

3334
import Servant.API.ContentTypes
3435

0 commit comments

Comments
 (0)