We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6138790 commit 669ad43Copy full SHA for 669ad43
Tests/AWSLambdaRuntimeTests/LambdaLocalServerTests.swift
@@ -135,11 +135,10 @@ extension LambdaRuntimeTests {
135
port: customPort,
136
payload: "\"World\(i)\""
137
)
138
- let responseBody = String(data: data, encoding: .utf8) ?? ""
139
return RequestResult(
140
requestIndex: i,
141
statusCode: response.statusCode,
142
- responseBody: responseBody
+ responseBody: String(decoding: data, as: UTF8.self)
143
144
}
145
0 commit comments