Skip to content

Commit 482e09e

Browse files
committed
swift-format
1 parent b0234f5 commit 482e09e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/AWSLambdaRuntimeTests/LambdaRuntimeClientTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,11 @@ struct LambdaRuntimeClientTests {
276276
let _ = try await runtimeClient.nextInvocation()
277277
Issue.record("Expected connection error but got successful invocation")
278278

279-
// Verify we get an error when the connection is closed.
280-
// the error is either a ChannelError or a LambdaRuntimeError
281279
} catch let error as LambdaRuntimeError {
280+
// Verify we get an error when the connection is closed.
282281
#expect(error.code == .connectionToControlPlaneLost)
283282
} catch let error as ChannelError {
283+
// the error is either a ChannelError or a LambdaRuntimeError
284284
#expect(error == .ioOnClosedChannel)
285285
} catch {
286286
Issue.record("Unexpected error type: \(error)")

0 commit comments

Comments
 (0)