moves responsibility to ensure output ends with an EOL to the individual reporters
adjusts most reporters to emit an EOL (except the null reporter, which exists to emit nothing but null)
adds a unit test that guarantees current & future reporters will still have an EOL in their output
Motivation and Context
Fixes a personal OCD issue where the null reporter emitted an EOL disturbing adding an empty line to the diagnostics reporter (I see that thing a lot ...).
Drawback: this solution is less simple/ elegant than the previous one (see diff).
How Has This Been Tested?
[x] green ci
[x] additional non-regression tests
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Documentation only change
[x] Refactor (non-breaking change which fixes an issue without changing functionality)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
[x] :book:
My change doesn't require a documentation update, or ...
it does and I have updated it
[x] :balance_scale:
The contribution will be subject to The MIT license, and I'm OK with that.
Description
Motivation and Context
Fixes a personal OCD issue where the
null
reporter emitted an EOL disturbing adding an empty line to the diagnostics reporter (I see that thing a lot ...).Drawback: this solution is less simple/ elegant than the previous one (see diff).
How Has This Been Tested?
Types of changes
Checklist
[x] :book:
[x] :balance_scale: