Closed trashner closed 7 years ago
I've noticed this too. I tried to fix it at one point, but never figured it out
Think I got it. Change line #85 in 'Yunit.ahk' from throw Exception(Message, -1)
to throw Exception(Message, -2)
.
-2
goes one entry down the call stack and therefor reports back the line number of the actual test script.
Thanks for pointing this out - will fix ASAP
I noticed the line number that is shown for a failed test refers to the 'Yunit.ahk' file, and not the actual test suite file.
E.g.
Line #85: FAIL
orLine #60: ExpectedException
Is this by design?