Skip to content

fix: changed stack trace list from 3 to 2, to get correct step defin… #1254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

tts-ll
Copy link

@tts-ll tts-ll commented Oct 13, 2017

…ition file name in reports

Summary

In "pretty" reports:

Printing out code locations for step definitions was giving "
NativeConstructorAccessorImpl:-2"
for filename:line_number
instead of the appropriate "step definition filename":line_number output.
This error only happens with Java8/Lambda step definition functions.

Changing 3 to 2, gets the appropriate stacktrace list item to report file and line number.

@mpkorstanje
Copy link
Contributor

Thanks for the bug report. This must have been broken while refactoring java 8. It appears there is no test for it.

mpkorstanje added a commit that referenced this pull request Oct 13, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 81.227% when pulling b7694cc on tts-ll:master into ca3c2e7 on cucumber:master.

mlvandijk pushed a commit that referenced this pull request Oct 26, 2017
@lock
Copy link

lock bot commented Oct 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants