~jaro/balkon

ce1a6681c0992a4cb85580d36e465b78723e895d — Jaro 1 year, 7 months ago 52c8e9d
Use concise expression for readFromFile.
1 files changed, 1 insertions(+), 1 deletions(-)

M test/Data/Text/ParagraphLayout/PrettyShow/Golden.hs
M test/Data/Text/ParagraphLayout/PrettyShow/Golden.hs => test/Data/Text/ParagraphLayout/PrettyShow/Golden.hs +1 -1
@@ 25,7 25,7 @@ goldenTest goldenDir unwrap wrap innerOutput name = Golden
    { output = wrap innerOutput
    , encodePretty = show . unwrap
    , writeToFile = \ path -> writeFile path . prettyShow
    , readFromFile = \ path -> readFile path >>= return . wrap . read
    , readFromFile = \ path -> wrap . read <$> readFile path
    , goldenFile = goldenPath goldenDir name
    , actualFile = Just (actualPath goldenDir name)
    , failFirstTime = True