diff --git a/dhall/dhall.cabal b/dhall/dhall.cabal index 42216090b..ae4dea5f5 100644 --- a/dhall/dhall.cabal +++ b/dhall/dhall.cabal @@ -419,7 +419,7 @@ Test-Suite tasty tasty-quickcheck >= 0.9.2 && < 0.11, tasty-silver < 3.4 , temporary >= 1.2.1 && < 1.4 , - turtle < 1.6 , + turtle < 1.7 , Default-Language: Haskell2010 Test-Suite doctest diff --git a/dhall/tests/Dhall/Test/Freeze.hs b/dhall/tests/Dhall/Test/Freeze.hs index 253458da8..eb408ba30 100644 --- a/dhall/tests/Dhall/Test/Freeze.hs +++ b/dhall/tests/Dhall/Test/Freeze.hs @@ -1,5 +1,8 @@ {-# LANGUAGE OverloadedStrings #-} +-- FIXME: Re-enable deprecation warnings after removing support for turtle < 1.6. +{-# OPTIONS_GHC -Wno-deprecations #-} + module Dhall.Test.Freeze where import Data.Text (Text) diff --git a/dhall/tests/Dhall/Test/Import.hs b/dhall/tests/Dhall/Test/Import.hs index 59fcd48b7..c06a0d19d 100644 --- a/dhall/tests/Dhall/Test/Import.hs +++ b/dhall/tests/Dhall/Test/Import.hs @@ -2,16 +2,18 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeApplications #-} +-- FIXME: Re-enable deprecation warnings after removing support for turtle < 1.6. +{-# OPTIONS_GHC -Wno-deprecations #-} + module Dhall.Test.Import where -import Control.Exception (SomeException) -import Data.Foldable (fold) -import Data.Text (Text, isSuffixOf) -import Data.Void (Void) -import Filesystem.Path.CurrentOS (toText) -import Prelude hiding (FilePath) -import Test.Tasty (TestTree) -import Turtle (FilePath, ()) +import Control.Exception (SomeException) +import Data.Foldable (fold) +import Data.Text (Text, isSuffixOf) +import Data.Void (Void) +import Prelude hiding (FilePath) +import Test.Tasty (TestTree) +import Turtle (FilePath, toText, ()) import qualified Control.Exception as Exception import qualified Control.Monad as Monad