File tree 2 files changed +6
-5
lines changed
Tests/AWSLambdaRuntimeCoreTests
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,24 @@ import NIOCore
20
20
struct LambdaMockWriter : LambdaResponseStreamWriter {
21
21
var underlying : LambdaMockClient
22
22
23
- package init ( underlying: LambdaMockClient ) {
23
+ init ( underlying: LambdaMockClient ) {
24
24
self . underlying = underlying
25
25
}
26
26
27
- package mutating func write( _ buffer: ByteBuffer ) async throws {
27
+ mutating func write( _ buffer: ByteBuffer ) async throws {
28
28
try await self . underlying. write ( buffer)
29
29
}
30
30
31
- package consuming func finish( ) async throws {
31
+ consuming func finish( ) async throws {
32
32
try await self . underlying. finish ( )
33
33
}
34
34
35
- package consuming func writeAndFinish( _ buffer: ByteBuffer ) async throws {
35
+ consuming func writeAndFinish( _ buffer: ByteBuffer ) async throws {
36
36
try await self . write ( buffer)
37
37
try await self . finish ( )
38
38
}
39
39
40
- package func reportError( _ error: any Error ) async throws {
40
+ func reportError( _ error: any Error ) async throws {
41
41
}
42
42
}
43
43
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import Testing
19
19
20
20
@testable import AWSLambdaRuntimeCore
21
21
22
+ @Suite
22
23
struct LambdaRunLoopTests {
23
24
struct MockEchoHandler : StreamingLambdaHandler {
24
25
func handle(
You can’t perform that action at this time.
0 commit comments