Skip to content

Commit 55f88c5

Browse files
Sean Olszewskistmontgomery
andauthored
Update Sources/XCTest/Public/XCTestCase.TearDownBlocksState.swift
Co-authored-by: Stuart Montgomery <smontgomery@apple.com>
1 parent 5e1ca37 commit 55f88c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/XCTest/Public/XCTestCase.TearDownBlocksState.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extension XCTestCase {
2222
private var blocks: [() throws -> Void] = []
2323

2424
@available(macOS 12, *)
25-
func append(_ block: @escaping () async throws -> Void) {
25+
func append(_ block: @Sendable @escaping () async throws -> Void) {
2626
XCTWaiter.subsystemQueue.sync {
2727
precondition(wasFinalized == false, "API violation -- attempting to add a teardown block after teardown blocks have been dequeued")
2828
blocks.append {

0 commit comments

Comments
 (0)