Fixing tests to output newlines consistently
What does this MR do?
Instead of passing the output through echo, which can be strange on different systems, I'm passing the stdout through that function directly into the diff, which should leave less room for interpretation
What are the relevant issue numbers?
Edited by Ricky Wiens