-
Notifications
You must be signed in to change notification settings - Fork 80
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
#expect does not show output for try expression #756
Labels
bug
Something isn't working
Comments
Debugging into swift-testing source code. They both go into But their evaluatedExpression is different.
|
Duplicate of #162 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Motivation
The original logic is a 3 step computation.
However I'd like to test multi instance and name the instance with number make me sad. So I compress the steps into one throwing function.
But then the
#expect
macro won't show the output for the left expression withtry
.⬇️
Reproduce
A simplified version to demonstrate the issue
Expected behavior
Actual behavior
Steps to reproduce
See code snippet above
swift-testing version/commit hash
Xcode 16.0
Swift & OS version (output of
swift --version ; uname -a
)No response
The text was updated successfully, but these errors were encountered: