Skip to content

Commit 7139d22

Browse files
committed
Fix incorrect member name in protocol tests' body
1 parent 3b70784 commit 7139d22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

smithy-aws-protocol-tests/model/awsJson1_0/query-compatible.smithy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ apply NoCustomCodeError @httpResponseTests([
6060
body: """
6161
{
6262
"__type": "aws.protocoltests.json10#NoCustomCodeError",
63-
"Message": "Hi"
63+
"message": "Hi"
6464
}"""
6565
bodyMediaType: "application/json"
6666
vendorParamsShape: ErrorCodeParams
@@ -85,7 +85,7 @@ apply CustomCodeError @httpResponseTests([
8585
body: """
8686
{
8787
"__type": "aws.protocoltests.json10#CustomCodeError",
88-
"Message": "Hi"
88+
"message": "Hi"
8989
}"""
9090
bodyMediaType: "application/json"
9191
vendorParamsShape: ErrorCodeParams

smithy-aws-protocol-tests/model/rpcv2Cbor/query-compatible.smithy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ apply NoCustomCodeError @httpResponseTests([
5959
params: { message: "Hi" }
6060
code: 400
6161
headers: { "smithy-protocol": "rpc-v2-cbor", "Content-Type": "application/cbor" }
62-
body: "uQACZl9fdHlwZXgtYXdzLnByb3RvY29sdGVzdHMucnBjdjJjYm9yI05vQ3VzdG9tQ29kZUVycm9yZ01lc3NhZ2ViSGk="
62+
body: "uQACZl9fdHlwZXgtYXdzLnByb3RvY29sdGVzdHMucnBjdjJjYm9yI05vQ3VzdG9tQ29kZUVycm9yZ21lc3NhZ2ViSGk="
6363
bodyMediaType: "application/cbor"
6464
vendorParamsShape: ErrorCodeParams
6565
vendorParams: { code: "NoCustomCodeError" }
@@ -80,7 +80,7 @@ apply CustomCodeError @httpResponseTests([
8080
params: { message: "Hi" }
8181
code: 400
8282
headers: { "smithy-protocol": "rpc-v2-cbor", "Content-Type": "application/cbor", "x-amzn-query-error": "Customized;Sender" }
83-
body: "uQACZl9fdHlwZXgrYXdzLnByb3RvY29sdGVzdHMucnBjdjJjYm9yI0N1c3RvbUNvZGVFcnJvcmdNZXNzYWdlYkhp"
83+
body: "uQACZl9fdHlwZXgrYXdzLnByb3RvY29sdGVzdHMucnBjdjJjYm9yI0N1c3RvbUNvZGVFcnJvcmdtZXNzYWdlYkhp"
8484
bodyMediaType: "application/cbor"
8585
vendorParamsShape: ErrorCodeParams
8686
vendorParams: { code: "Customized", type: "Sender" }

0 commit comments

Comments
 (0)