diff options
| author | Danny Navarro <j@dannynavarro.net> | 2015-09-22 14:02:12 +0200 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2015-09-22 14:02:49 +0200 |
| commit | a4db99ea5d78637e15abdb2c8ed3f9864b6ad35b (patch) | |
| tree | 3de1ad686c705dde883ab29c35aefb37e5c1e479 /tests | |
| parent | 06b3302862e0c427439136241fb6299f215cec52 (diff) | |
| download | graphql-a4db99ea5d78637e15abdb2c8ed3f9864b6ad35b.tar.gz | |
Fixes for ghc-7.8
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tasty.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tasty.hs b/tests/tasty.hs index 64786e6..32bdd8d 100644 --- a/tests/tasty.hs +++ b/tests/tasty.hs @@ -1,6 +1,11 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} module Main where +#if !MIN_VERSION_base(4,8,0) +import Control.Applicative ((<$>), (<*>)) +#endif + import Data.Attoparsec.Text (parseOnly) import qualified Data.Text.IO as Text import Test.Tasty (defaultMain) |
