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
Implement XCTExpectFailure()
#438
Comments
Hmm, I suspect that this is just API divergence and swift-corelibs-xctest has not been updated for the API changes for Xcode 12.5+. We should be able to support this. |
grynspan
changed the title
test that calls XCTExpectFailure does not compile on linux
Implement Sep 5, 2023
XCTExpectFailure()
Blocked by #348 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
test that calls XCTExpectFailure does not compile on linux
Steps to reproduce
create a simple test such as one showed on documentation:
create Package.swift with the test above as test target and run
swift test
Expected behavior
This should compile and run, tested working on macOS 12.5
but on linux (tested on official docker image) this will fail to compile:
It compiles and runs fine once you comment out the ExpectedFailure call.
Environment
Latest swift docker:
root@50ad2ae7e8d5:/# swift --version
Swift version 5.8 (swift-5.8-RELEASE)
Target: x86_64-unknown-linux-gnu
The text was updated successfully, but these errors were encountered: