Add trailing newlines to output for cleaner test diffs

This commit is contained in:
George Thomas 2025-12-09 16:57:47 +00:00
parent 57c1613019
commit 2aab786dba
37 changed files with 37 additions and 37 deletions

View File

@ -45,6 +45,6 @@ main =
testGroup pt $
( zip (map show [1 :: Int ..]) parts <&> \(n, pp) ->
goldenVsStringDiff n diffCommand ("../outputs/" <> t <> "/" <> pt <> "/" <> n) $
TL.encodeUtf8 . TL.show . pp <$> input
TL.encodeUtf8 . (<> "\n") . TL.show . pp <$> input
)
<> [testGroup "extra" $ extraTests isRealData ("../outputs/" <> t <> "/" <> pt <> "/extra/") input]