Add trailing newlines to output for cleaner test diffs
This commit is contained in:
parent
57c1613019
commit
2aab786dba
@ -45,6 +45,6 @@ main =
|
|||||||
testGroup pt $
|
testGroup pt $
|
||||||
( zip (map show [1 :: Int ..]) parts <&> \(n, pp) ->
|
( zip (map show [1 :: Int ..]) parts <&> \(n, pp) ->
|
||||||
goldenVsStringDiff n diffCommand ("../outputs/" <> t <> "/" <> pt <> "/" <> n) $
|
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]
|
<> [testGroup "extra" $ extraTests isRealData ("../outputs/" <> t <> "/" <> pt <> "/extra/") input]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user