Skip to content

Commit 392137c

Browse files
committed
XCTestExpectation is Sendable starting Xcode 16.3 beta
1 parent b48a56a commit 392137c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/GRDBTests/GRDBTestCase.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,5 +269,7 @@ struct AnyValueReducerFetcher<Fetched>: _ValueReducerFetcher {
269269
}
270270
}
271271

272-
// Assume this is correct :-/
272+
#if compiler(<6.1)
273+
// XCTestExpectation is Sendable starting Xcode 16.3 beta.
273274
extension XCTestExpectation: @unchecked Sendable { }
275+
#endif

0 commit comments

Comments
 (0)