When formatting stack traces, the function uses a PrintStream and toString to get the text for the stack trace, this is converted according to the platform line endings, in Windows, the cr-lf line endings cause the patterns to fail. This means for example that the unit test for TemplatableOutput fails in Windows. I have added a unit test to check if it an Exception is converted correctly, however this test will fail under Windows only.
When formatting stack traces, the function uses a PrintStream and toString to get the text for the stack trace, this is converted according to the platform line endings, in Windows, the cr-lf line endings cause the patterns to fail.
This means for example that the unit test for TemplatableOutput fails in Windows.
I have added a unit test to check if it an Exception is converted correctly, however this test will fail under Windows only.