Skip to content
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

Add a source line resolver for tests #37

Open
enlight opened this issue Oct 7, 2015 · 1 comment
Open

Add a source line resolver for tests #37

enlight opened this issue Oct 7, 2015 · 1 comment

Comments

@enlight
Copy link
Owner

enlight commented Oct 7, 2015

Currently tests that need to check that the debugger ends up at the right source line rely on hard-coded line numbers, this is rather tedious to maintain and easy to break whenever modifying the source of the test targets. A better way to accomplish this sort of thing is to place some marker comments in the target source file and then look for them when running tests to determine the corresponding line number.

@enlight
Copy link
Owner Author

enlight commented Oct 16, 2015

A source line resolver was added in dfb9f74
Now need to update the tests to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant