Skip to content

Fix failed assertion linenumbers #381

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

Merged

Conversation

pawelsadlo
Copy link
Contributor

This takes into account any expression used as test body, and transforms its tree in order to wrap every utest.assert expressions in Inlined

@pawelsadlo pawelsadlo force-pushed the fix-failed-assertion-linenumbers branch from 5aa8558 to 15c66b4 Compare July 1, 2025 10:02
@pawelsadlo pawelsadlo force-pushed the fix-failed-assertion-linenumbers branch from 15c66b4 to 1e07a24 Compare July 1, 2025 10:10
…count - include asserts inside of expressions
@pawelsadlo pawelsadlo force-pushed the fix-failed-assertion-linenumbers branch from 1e07a24 to 9d67a3f Compare July 1, 2025 10:15
@lihaoyi lihaoyi merged commit 9071141 into com-lihaoyi:master Jul 1, 2025
4 checks passed
@lihaoyi
Copy link
Member

lihaoyi commented Jul 1, 2025

Thanks @pawelsadlo !

@pawelsadlo
Copy link
Contributor Author

@lihaoyi your welcome, lmk in case of any problems

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

Successfully merging this pull request may close these issues.

2 participants