You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the roadmap and priorities and I believe this request falls within the priorities.
What is your request?
when I worked on #2378, I wrote some test cases, but the assertation failure only told me i failed my test, but I didn't know the error line and column
Unhandled exception caught during execution: AssertionError: condition was unexpectedly False
mojo: error: execution exited with a non-zero result: 1
when we added too many test cases later, I think it was not friendly for our developers to find the precise source code information
What is your motivation for this change?
More precise assertation failure information
Any other details?
No response
The text was updated successfully, but these errors were encountered:
zhoujingya
changed the title
[Feature Request] More precise assertation error information need to be provided
[Feature Request] More precise assertation failure information need to be provided
Apr 22, 2024
Yep, I'm going to close this issue as we have the source location now plumbed through in the assert functions. Thanks @laszlokindrat for making this happen! Stack traces from Mojo programs are a whole separate beast. Feel free to open a separate GitHub issue for that, but it's well known internally that users would like that.
Review Mojo's priorities
What is your request?
when I worked on #2378, I wrote some test cases, but the assertation failure only told me i failed my test, but I didn't know the error line and column
when we added too many test cases later, I think it was not friendly for our developers to find the precise source code information
What is your motivation for this change?
More precise assertation failure information
Any other details?
No response
The text was updated successfully, but these errors were encountered: