summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/golden.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/golden.hs b/tests/golden.hs
index 2323a97..98413eb 100644
--- a/tests/golden.hs
+++ b/tests/golden.hs
@@ -1,6 +1,10 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
+#if !MIN_VERSION_base(4,8,0)
+import Control.Applicative ((<$>), (<*>), pure)
+#endif
import Control.Monad ((>=>))
import Data.Attoparsec.Text (parseOnly)
import Data.ByteString.Lazy.Char8 as B8