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

Tests: use XCTUnwrap over forced unwrappng #619

Merged

Conversation

compnerd
Copy link
Collaborator

@compnerd compnerd commented Jun 9, 2023

Failure to unwrap would trigger an assertion failure whereas the use of XCTUnwrap will fail the test case and permit the remainder of the test suite to be processed. This allows us to better understand the state of the test suite coverage when porting.

Failure to unwrap would trigger an assertioin failure whereas the use of
`XCTUnwrap` will fail the test case and permit the remainder of the test
suite to be processed.  This allows us to better understand the state of
the test suite coverage when porting.
@compnerd
Copy link
Collaborator Author

compnerd commented Jun 9, 2023

@swift-ci please test

Copy link
Contributor

@d-ronnqvist d-ronnqvist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this

@compnerd compnerd merged commit 651ee9c into apple:main Jun 9, 2023
2 checks passed
@compnerd compnerd deleted the compnerd/unwrapping-presents-at-christmas branch June 9, 2023 16:10
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.

None yet

3 participants