diff --git a/Sources/WebSocketActors/Continuation.swift b/Sources/WebSocketActors/Continuation.swift index 4b3b336..66bbeeb 100644 --- a/Sources/WebSocketActors/Continuation.swift +++ b/Sources/WebSocketActors/Continuation.swift @@ -30,13 +30,13 @@ import Foundation @inlinable func withContinuation(function: String = #function, _ body: (UnsafeContinuation) -> Void) async -> T { - await withUnsafeContinuation(function: function, body) + await withUnsafeContinuation(body) } @inlinable func withThrowingContinuation(function: String = #function, _ body: (UnsafeContinuation) -> Void) async throws -> T { - try await withUnsafeThrowingContinuation(function: function, body) + try await withUnsafeThrowingContinuation(body) } #endif diff --git a/Tests/WebSocketActorTests/ActorIdentityTests.swift b/Tests/WebSocketActorTests/ActorIdentityTests.swift index 3bff86d..65db906 100644 --- a/Tests/WebSocketActorTests/ActorIdentityTests.swift +++ b/Tests/WebSocketActorTests/ActorIdentityTests.swift @@ -5,7 +5,7 @@ // Created by Stuart A. Malone on 11/2/23. // -@testable import WebSocketActors +import WebSocketActors import XCTest final class ActorIdentityTests: XCTestCase { diff --git a/Tests/WebSocketActorTests/WebSocketActorTests.swift b/Tests/WebSocketActorTests/WebSocketActorTests.swift index 28d88cb..2ef7c87 100644 --- a/Tests/WebSocketActorTests/WebSocketActorTests.swift +++ b/Tests/WebSocketActorTests/WebSocketActorTests.swift @@ -1,7 +1,7 @@ import Distributed import Logging import NIO -@testable import WebSocketActors +import WebSocketActors import XCTest typealias DefaultDistributedActorSystem = WebSocketActorSystem