File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/AWSLambdaRuntimeTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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) " )
You can’t perform that action at this time.
0 commit comments