diff --git a/src/Test/Tasty/Golden/Extra/GoldenVsToYAML.hs b/src/Test/Tasty/Golden/Extra/GoldenVsToYAML.hs index 4977140..fd2ce7d 100644 --- a/src/Test/Tasty/Golden/Extra/GoldenVsToYAML.hs +++ b/src/Test/Tasty/Golden/Extra/GoldenVsToYAML.hs @@ -23,7 +23,6 @@ where import Data.Aeson import Data.Aeson qualified as Aeson import Data.ByteString qualified as BL -import Data.String.Interpolate (i) import Data.Yaml qualified as Yaml import Test.Tasty import Test.Tasty.Discover qualified as Discover @@ -94,7 +93,7 @@ orFailTest :: FilePath -> Either Yaml.ParseException a -> IO a orFailTest fp = either ( fail - . ([i|Failed to decode file #{fp}|] <>) + . (\t -> mconcat ["Failed to decode file ", fp, "\n", t]) . Yaml.prettyPrintParseException ) pure diff --git a/tasty-golden-extra.cabal b/tasty-golden-extra.cabal index d7de1e1..dd23e07 100644 --- a/tasty-golden-extra.cabal +++ b/tasty-golden-extra.cabal @@ -38,7 +38,6 @@ common deps , bytestring >=0.10.12 , pretty-show ^>=1.10 , pretty-simple ^>=4.1 - , string-interpolate ^>=0.3.4.0 , tasty ^>=1.5 , tasty-discover ^>=5.0.0 , tasty-golden ^>=2.3.5