Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
StackFIlter trims leading spaces from each line #2208
I noticed in the gui that stack traces from a test failure were showing up without leading spaces before the "at" on each line, whereas error failures had it. I confirmed same behavior on the console. While not terribly important, this does make the reports of combined failures and errors look odd.
I think it's due to a
added a commit
Jun 8, 2017
It seems like this fix is in the wrong place, and assumes that every stack trace line starts with whitespace, and the same whitespace.
If that ever changes, then this will break again.
Correct fix seems to be to Trim everything, and then format the reports correctly.