Skip to content

Commit 5f60915

Browse files
committed
Test needs @available flag
1 parent 8c4e539 commit 5f60915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/AWSLambdaRuntimeTests/LambdaLocalServerTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import Testing
2222
extension LambdaRuntimeTests {
2323

2424
@Test("Local server respects LOCAL_LAMBDA_PORT environment variable")
25+
@available(LambdaSwift 2.0, *)
2526
func testLocalServerCustomPort() async throws {
2627
let customPort = 8080
2728

0 commit comments

Comments
 (0)