Makes tests run only on ghc 7.10.
- doctest is unable to resolve cabal macros on ghc 7.8 so disabling tests on ghc 7.8.
This commit is contained in:
parent
2be336ba41
commit
4fe1006d0c
11
ringo.cabal
11
ringo.cabal
@ -59,10 +59,13 @@ test-suite ringo-test
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test, src
|
||||
main-is: doctests.hs
|
||||
build-depends: base
|
||||
, ringo
|
||||
, pretty-show >=1.6 && <1.7
|
||||
, doctest >=0.9 && <0.11
|
||||
if impl(ghc >= 7.10)
|
||||
build-depends: base
|
||||
, ringo
|
||||
, pretty-show >=1.6 && <1.7
|
||||
, doctest >=0.9 && <0.11
|
||||
else
|
||||
buildable: False
|
||||
default-language: Haskell2010
|
||||
|
||||
source-repository head
|
||||
|
@ -5,11 +5,6 @@ module Ringo.Generator.Populate.Dimension (dimensionTablePopulateSQL) where
|
||||
|
||||
import qualified Data.Text as Text
|
||||
|
||||
#if MIN_VERSION_base(4,8,0)
|
||||
#else
|
||||
import Control.Applicative ((<$>))
|
||||
#endif
|
||||
|
||||
import Control.Monad.Reader (Reader, asks)
|
||||
import Data.Maybe (fromJust)
|
||||
import Data.Monoid ((<>))
|
||||
|
Loading…
Reference in New Issue
Block a user