From 48effe84df35a59dddff02fe8591517918bb0bfa Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Wed, 7 Feb 2018 12:26:14 -0800 Subject: [PATCH] Ha, whoops - actually use path argument --- test/SpecHelpers.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SpecHelpers.hs b/test/SpecHelpers.hs index f1ed4c161..745abf861 100644 --- a/test/SpecHelpers.hs +++ b/test/SpecHelpers.hs @@ -44,7 +44,7 @@ languageForFilePath = languageForType . takeExtension readFileVerbatim :: FilePath -> IO Verbatim -readFileVerbatim path = verbatim <$> B.readFile "test/fixtures/ruby/import-graph/app.json" +readFileVerbatim = fmap verbatim . B.readFile newtype Verbatim = Verbatim B.ByteString deriving (Eq)