summaryrefslogtreecommitdiff
path: root/test/TestExample.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestExample.hs')
-rw-r--r--test/TestExample.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TestExample.hs b/test/TestExample.hs
index 6a571e8..6ed64c8 100644
--- a/test/TestExample.hs
+++ b/test/TestExample.hs
@@ -2,7 +2,6 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
-{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
@@ -38,7 +37,11 @@ import Example hiding (main)
import Prelude.Unicode
+#if MIN_VERSION_Cabal(2,0,0)
+import PkgInfo
+#else
import PkgInfo_url_example_test
+#endif
-- -------------------------------------------------------------------------- --
-- main