diff --git a/Tests/IdentifiableContinuationTests.swift b/Tests/IdentifiableContinuationTests.swift index e59ee11..f3c9b07 100644 --- a/Tests/IdentifiableContinuationTests.swift +++ b/Tests/IdentifiableContinuationTests.swift @@ -248,7 +248,7 @@ private extension Actor { func identifiableContinuation( body: @Sendable (IdentifiableContinuation) -> Void, - onCancel handler: @Sendable (IdentifiableContinuation.ID) -> Void = { _ in } + onCancel handler: @Sendable (IdentifiableContinuation.ID) -> Void = { _ in } ) async -> T { #if compiler(>=6.0) await withIdentifiableContinuation(body: body, onCancel: handler) @@ -259,7 +259,7 @@ private extension Actor { func throwingIdentifiableContinuation( body: @Sendable (IdentifiableContinuation) -> Void, - onCancel handler: @Sendable (IdentifiableContinuation.ID) -> Void = { _ in } + onCancel handler: @Sendable (IdentifiableContinuation.ID) -> Void = { _ in } ) async throws -> T { #if compiler(>=6.0) try await withIdentifiableThrowingContinuation(body: body, onCancel: handler)