File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ extension AllTests.AnalyzeErrorTests {
192192#warning("Move this into a trait on @Test")
193193 // See https://forums.swift.org/t/converting-xctest-invoketest-to-swift-testing/77692/4 for details
194194#endif
195- var defaultDependencies : ( inout DependencyValues ) async throws -> Void {
195+ var defaultDependencies : @ Sendable ( inout DependencyValues ) async throws -> Void {
196196 {
197197 $0. date. now = . t0
198198 $0. environment. allowSocialPosts = { true }
Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ import Vapor
1919import PostgresNIO
2020
2121
22- func withApp( _ setup: ( Application ) async throws -> Void = { _ in } ,
23- _ updateValuesForOperation: ( inout DependencyValues ) async throws -> Void = { _ in } ,
24- environment: Environment = . testing,
25- _ test: ( Application ) async throws -> Void ) async throws {
22+ func withApp(
23+ _ setup: @Sendable ( Application) async throws -> Void = { _ in } ,
24+ _ updateValuesForOperation: @Sendable ( inout DependencyValues ) async throws -> Void = { _ in } ,
25+ environment: Environment = . testing,
26+ _ test: @Sendable ( Application) async throws -> Void
27+ ) async throws {
2628 prepareDependencies {
2729 $0. logger = . noop
2830 }
You can’t perform that action at this time.
0 commit comments