Skip to content

Commit 58cfde5

Browse files
committed
mark XCTAsyncTest operation closure as @Sendable
1 parent 8423007 commit 58cfde5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This product contains derivations of various scripts from SwiftNIO.
3535

3636
---
3737

38-
This product contains "XCTest+AsyncAwait.swift" from gRPC Swift.
38+
This product contains a derivation of "XCTest+AsyncAwait.swift" from gRPC Swift.
3939

4040
* LICENSE (Apache License 2.0):
4141
* https://www.apache.org/licenses/LICENSE-2.0

Tests/AsyncHTTPClientTests/XCTest+AsyncAwait.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extension XCTestCase {
4545
file: StaticString = #filePath,
4646
line: UInt = #line,
4747
function: StaticString = #function,
48-
operation: @escaping () async throws -> Void
48+
operation: @escaping @Sendable () async throws -> Void
4949
) {
5050
let expectation = self.expectation(description: expectationDescription)
5151
Task {

0 commit comments

Comments
 (0)