Skip to content

Commit 1414b8c

Browse files
authored
fix: update array to SetShape in protocol_tests (#1170)
1 parent 7a3d86f commit 1414b8c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

protocol_tests/aws-restjson/tests/functional/aws_rest_json_1_1.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ it("RestJsonAllQueryStringTypes:Request", async () => {
191191

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

194-
queryStringSet: new Set(["a", "b", "c"]),
194+
queryStringSet: ["a", "b", "c"],
195195

196196
queryByte: 1,
197197

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

202202
queryIntegerList: [1, 2, 3],
203203

204-
queryIntegerSet: new Set([1, 2, 3]),
204+
queryIntegerSet: [1, 2, 3],
205205

206206
queryLong: 4,
207207

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

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

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

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

2038-
fooEnumSet: new Set(["Foo", "0"]),
2038+
fooEnumSet: ["Foo", "0"],
20392039

20402040
fooEnumMap: {
20412041
hi: "Foo",
@@ -2163,7 +2163,7 @@ it("RestJsonLists:Request", async () => {
21632163
const command = new JsonListsCommand({
21642164
stringList: ["foo", "bar"],
21652165

2166-
stringSet: new Set(["foo", "bar"]),
2166+
stringSet: ["foo", "bar"],
21672167

21682168
integerList: [1, 2],
21692169

protocol_tests/aws-restxml/tests/functional/aws_rest_xml.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ it("AllQueryStringTypes:Request", async () => {
201201

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

204-
queryStringSet: new Set(["a", "b", "c"]),
204+
queryStringSet: ["a", "b", "c"],
205205

206206
queryByte: 1,
207207

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

212212
queryIntegerList: [1, 2, 3],
213213

214-
queryIntegerSet: new Set([1, 2, 3]),
214+
queryIntegerSet: [1, 2, 3],
215215

216216
queryLong: 4,
217217

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

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

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

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

2953-
fooEnumSet: new Set(["Foo", "0"]),
2953+
fooEnumSet: ["Foo", "0"],
29542954

29552955
fooEnumMap: {
29562956
hi: "Foo",
@@ -3092,7 +3092,7 @@ it("XmlLists:Request", async () => {
30923092
const command = new XmlListsCommand({
30933093
stringList: ["foo", "bar"],
30943094

3095-
stringSet: new Set(["foo", "bar"]),
3095+
stringSet: ["foo", "bar"],
30963096

30973097
integerList: [1, 2],
30983098

0 commit comments

Comments
 (0)