Skip to content

Commit 25c6783

Browse files
committed
do not change viisbility of method inside AWSLambdaRuntimeCore
1 parent 2cc2a9c commit 25c6783

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Examples/Testing/Tests/HandlerTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import Logging
1818
import Testing
1919

2020
@testable import APIGatewayLambda // to access the business code
21+
@testable import AWSLambdaRuntimeCore // to access the LambdaContext
2122

2223
#if canImport(FoundationEssentials)
2324
import FoundationEssentials

Sources/AWSLambdaRuntimeCore/LambdaContext.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public struct LambdaContext: CustomDebugStringConvertible, Sendable {
123123
/// This interface is not part of the public API and must not be used by adopters.
124124
/// It is declared public to allow users to unit test their handler.
125125
/// This API is not part of semver versioning.
126-
public static func __forTestsOnly(
126+
package static func __forTestsOnly(
127127
requestID: String,
128128
traceID: String,
129129
invokedFunctionARN: String,

0 commit comments

Comments
 (0)