Skip to content

Commit

Permalink
Reverse the logic of protocol tests for aws and ec2 query for empty l…
Browse files Browse the repository at this point in the history
…ists

Currently both aws query and ec2 query do serialize empty lists
  • Loading branch information
sugmanue committed Oct 12, 2022
1 parent e74329a commit 502258a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions smithy-aws-protocol-tests/model/awsQuery/input-lists.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ apply QueryLists @httpRequestTests([
},
{
id: "EmptyQueryLists",
documentation: "Does not serialize empty query lists",
documentation: "Serializes empty query lists",
protocol: awsQuery,
method: "POST",
uri: "/",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: "Action=QueryLists&Version=2020-01-08",
body: "Action=QueryLists&Version=2020-01-08&ListArg=",
bodyMediaType: "application/x-www-form-urlencoded",
params: {
ListArg: []
Expand Down
4 changes: 2 additions & 2 deletions smithy-aws-protocol-tests/model/ec2Query/input-lists.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ apply QueryLists @httpRequestTests([
},
{
id: "Ec2EmptyQueryLists",
documentation: "Does not serialize empty query lists",
documentation: "Serializes empty query lists",
protocol: ec2Query,
method: "POST",
uri: "/",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: "Action=QueryLists&Version=2020-01-08",
body: "Action=QueryLists&Version=2020-01-08&ListArg=",
bodyMediaType: "application/x-www-form-urlencoded",
params: {
ListArg: []
Expand Down

0 comments on commit 502258a

Please sign in to comment.