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
Add @MainActor to waitForExpectations(timeout:handler:) #428 #452
Add @MainActor to waitForExpectations(timeout:handler:) #428 #452
Conversation
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please test Windows |
@swift-ci please clean test Windows |
@swift-ci please test |
@swift-ci please test |
@swift-ci please clean test Windows |
XCTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Outdated
Show resolved
Hide resolved
@swift-ci please test |
7d8152e
to
0afda42
Compare
@swift-ci please test |
@swift-ci please test Windows |
0afda42
to
5607291
Compare
@swift-ci please test |
@swift-ci please test Windows |
@swift-ci please test |
@swift-ci please clean test Windows |
Compiler crash happened again, so I'm just going to comment out the new pro forma unit tests for now. |
@swift-ci please test |
@swift-ci please test |
@swift-ci please test Windows |
1 similar comment
@swift-ci please test Windows |
@swift-ci please test |
@swift-ci please test Windows |
@swift-ci please test |
@swift-ci please test Windows |
…ld-be-main-actor-isolated Add @mainactor to waitForExpectations(timeout:handler:) #428
This change makes
waitForExpectations()
as main-actor-isolated, as it is in Xcode's version of XCTest. It is marked@preconcurrency @MainActor
so that existing synchronous functions can continue to use it withoutawait
or@MainActor
.Resolves #428.