Skip to content

Commit 258fd35

Browse files
committed
Fix structure
1 parent 438b87d commit 258fd35

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Sources/AWSLambdaTesting/LambdaMockClient.swift renamed to Tests/AWSLambdaRuntimeCoreTests/LambdaMockClient.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ import NIOCore
2020
struct LambdaMockWriter: LambdaResponseStreamWriter {
2121
var underlying: LambdaMockClient
2222

23-
package init(underlying: LambdaMockClient) {
23+
init(underlying: LambdaMockClient) {
2424
self.underlying = underlying
2525
}
2626

27-
package mutating func write(_ buffer: ByteBuffer) async throws {
27+
mutating func write(_ buffer: ByteBuffer) async throws {
2828
try await self.underlying.write(buffer)
2929
}
3030

31-
package consuming func finish() async throws {
31+
consuming func finish() async throws {
3232
try await self.underlying.finish()
3333
}
3434

35-
package consuming func writeAndFinish(_ buffer: ByteBuffer) async throws {
35+
consuming func writeAndFinish(_ buffer: ByteBuffer) async throws {
3636
try await self.write(buffer)
3737
try await self.finish()
3838
}
3939

40-
package func reportError(_ error: any Error) async throws {
40+
func reportError(_ error: any Error) async throws {
4141
}
4242
}
4343

Sources/AWSLambdaTesting/LambdaRunLoopTests.swift renamed to Tests/AWSLambdaRuntimeCoreTests/LambdaRunLoopTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import Testing
1919

2020
@testable import AWSLambdaRuntimeCore
2121

22+
@Suite
2223
struct LambdaRunLoopTests {
2324
struct MockEchoHandler: StreamingLambdaHandler {
2425
func handle(

0 commit comments

Comments
 (0)