Skip to content

Commit

Permalink
fix: update array to SetShape in protocol_tests (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed May 11, 2020
1 parent 7a3d86f commit 1414b8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Expand Up @@ -191,7 +191,7 @@ it("RestJsonAllQueryStringTypes:Request", async () => {

queryStringList: ["a", "b", "c"],

queryStringSet: new Set(["a", "b", "c"]),
queryStringSet: ["a", "b", "c"],

queryByte: 1,

Expand All @@ -201,7 +201,7 @@ it("RestJsonAllQueryStringTypes:Request", async () => {

queryIntegerList: [1, 2, 3],

queryIntegerSet: new Set([1, 2, 3]),
queryIntegerSet: [1, 2, 3],

queryLong: 4,

Expand Down Expand Up @@ -1533,7 +1533,7 @@ it("RestJsonInputAndOutputWithStringHeaders:Request", async () => {

headerStringList: ["a", "b", "c"],

headerStringSet: new Set(["a", "b", "c"])
headerStringSet: ["a", "b", "c"]
} as any);
try {
await client.send(command);
Expand Down Expand Up @@ -2035,7 +2035,7 @@ it("RestJsonJsonEnums:Request", async () => {

fooEnumList: ["Foo", "0"],

fooEnumSet: new Set(["Foo", "0"]),
fooEnumSet: ["Foo", "0"],

fooEnumMap: {
hi: "Foo",
Expand Down Expand Up @@ -2163,7 +2163,7 @@ it("RestJsonLists:Request", async () => {
const command = new JsonListsCommand({
stringList: ["foo", "bar"],

stringSet: new Set(["foo", "bar"]),
stringSet: ["foo", "bar"],

integerList: [1, 2],

Expand Down
10 changes: 5 additions & 5 deletions protocol_tests/aws-restxml/tests/functional/aws_rest_xml.spec.ts
Expand Up @@ -201,7 +201,7 @@ it("AllQueryStringTypes:Request", async () => {

queryStringList: ["a", "b", "c"],

queryStringSet: new Set(["a", "b", "c"]),
queryStringSet: ["a", "b", "c"],

queryByte: 1,

Expand All @@ -211,7 +211,7 @@ it("AllQueryStringTypes:Request", async () => {

queryIntegerList: [1, 2, 3],

queryIntegerSet: new Set([1, 2, 3]),
queryIntegerSet: [1, 2, 3],

queryLong: 4,

Expand Down Expand Up @@ -1664,7 +1664,7 @@ it("InputAndOutputWithStringHeaders:Request", async () => {

headerStringList: ["a", "b", "c"],

headerStringSet: new Set(["a", "b", "c"])
headerStringSet: ["a", "b", "c"]
} as any);
try {
await client.send(command);
Expand Down Expand Up @@ -2950,7 +2950,7 @@ it("XmlEnums:Request", async () => {

fooEnumList: ["Foo", "0"],

fooEnumSet: new Set(["Foo", "0"]),
fooEnumSet: ["Foo", "0"],

fooEnumMap: {
hi: "Foo",
Expand Down Expand Up @@ -3092,7 +3092,7 @@ it("XmlLists:Request", async () => {
const command = new XmlListsCommand({
stringList: ["foo", "bar"],

stringSet: new Set(["foo", "bar"]),
stringSet: ["foo", "bar"],

integerList: [1, 2],

Expand Down

0 comments on commit 1414b8c

Please sign in to comment.