approvals/ApprovalTests.Java

[windows] problem when package name is part of project name/path

LarsEckart opened this issue · 1 comments

Murphy's law strikes again, if anything can go wrong, it will. Issue found by a participant in my coding dojo session.
On windows, if the path name contains a word from the package name, our stacktrace namer can get into trouble:

Guess a picture demonstrates the issue best:

approvalsbug

causes a wild exception and stacktrace because the path we calculate doesn't exist.

fixed in 15.1.2