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 (#1444)

Currently both aws query and ec2 query do serialize empty lists
  • Loading branch information
sugmanue authored Oct 28, 2022
1 parent d8185ac commit 715b1d9
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 715b1d9

Please sign in to comment.