Skip to content

Commit cce6231

Browse files
authored
fix(protocol_tests): format files using prettier v2.3.0 (#2467)
1 parent 72cc2dc commit cce6231

File tree

4 files changed

+100
-16
lines changed

4 files changed

+100
-16
lines changed

protocol_tests/aws-ec2/tests/functional/ec2query.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,11 @@ it("Ec2XmlLists:Response", async () => {
17631763

17641764
stringSet: ["foo", "bar"],
17651765

1766-
integerList: [1, 2],
1766+
integerList: [
1767+
1,
1768+
1769+
2,
1770+
],
17671771

17681772
booleanList: [true, false],
17691773

protocol_tests/aws-query/tests/functional/awsquery.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,11 @@ it("QueryXmlLists:Response", async () => {
23392339

23402340
stringSet: ["foo", "bar"],
23412341

2342-
integerList: [1, 2],
2342+
integerList: [
2343+
1,
2344+
2345+
2,
2346+
],
23432347

23442348
booleanList: [true, false],
23452349

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

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,35 @@ it("RestJsonAllQueryStringTypes:Request", async () => {
197197

198198
queryInteger: 3,
199199

200-
queryIntegerList: [1, 2, 3],
200+
queryIntegerList: [
201+
1,
201202

202-
queryIntegerSet: [1, 2, 3],
203+
2,
204+
205+
3,
206+
],
207+
208+
queryIntegerSet: [
209+
1,
210+
211+
2,
212+
213+
3,
214+
],
203215

204216
queryLong: 4,
205217

206218
queryFloat: 1.1,
207219

208220
queryDouble: 1.1,
209221

210-
queryDoubleList: [1.1, 2.1, 3.1],
222+
queryDoubleList: [
223+
1.1,
224+
225+
2.1,
226+
227+
3.1,
228+
],
211229

212230
queryBoolean: true,
213231

@@ -2163,7 +2181,13 @@ it("RestJsonInputAndOutputWithNumericHeaders:Request", async () => {
21632181

21642182
headerDouble: 1.1,
21652183

2166-
headerIntegerList: [1, 2, 3],
2184+
headerIntegerList: [
2185+
1,
2186+
2187+
2,
2188+
2189+
3,
2190+
],
21672191
} as any);
21682192
try {
21692193
await client.send(command);
@@ -2386,7 +2410,13 @@ it("RestJsonInputAndOutputWithNumericHeaders:Response", async () => {
23862410

23872411
headerDouble: 1.1,
23882412

2389-
headerIntegerList: [1, 2, 3],
2413+
headerIntegerList: [
2414+
1,
2415+
2416+
2,
2417+
2418+
3,
2419+
],
23902420
},
23912421
][0];
23922422
Object.keys(paramsToValidate).forEach((param) => {
@@ -2729,7 +2759,11 @@ it("RestJsonLists:Request", async () => {
27292759

27302760
stringSet: ["foo", "bar"],
27312761

2732-
integerList: [1, 2],
2762+
integerList: [
2763+
1,
2764+
2765+
2,
2766+
],
27332767

27342768
booleanList: [true, false],
27352769

@@ -2983,7 +3017,11 @@ it("RestJsonLists:Response", async () => {
29833017

29843018
stringSet: ["foo", "bar"],
29853019

2986-
integerList: [1, 2],
3020+
integerList: [
3021+
1,
3022+
3023+
2,
3024+
],
29873025

29883026
booleanList: [true, false],
29893027

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

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,35 @@ it("AllQueryStringTypes:Request", async () => {
208208

209209
queryInteger: 3,
210210

211-
queryIntegerList: [1, 2, 3],
211+
queryIntegerList: [
212+
1,
212213

213-
queryIntegerSet: [1, 2, 3],
214+
2,
215+
216+
3,
217+
],
218+
219+
queryIntegerSet: [
220+
1,
221+
222+
2,
223+
224+
3,
225+
],
214226

215227
queryLong: 4,
216228

217229
queryFloat: 1.1,
218230

219231
queryDouble: 1.1,
220232

221-
queryDoubleList: [1.1, 2.1, 3.1],
233+
queryDoubleList: [
234+
1.1,
235+
236+
2.1,
237+
238+
3.1,
239+
],
222240

223241
queryBoolean: true,
224242

@@ -2119,7 +2137,13 @@ it("InputAndOutputWithNumericHeaders:Request", async () => {
21192137

21202138
headerDouble: 1.1,
21212139

2122-
headerIntegerList: [1, 2, 3],
2140+
headerIntegerList: [
2141+
1,
2142+
2143+
2,
2144+
2145+
3,
2146+
],
21232147
} as any);
21242148
try {
21252149
await client.send(command);
@@ -2352,7 +2376,13 @@ it("InputAndOutputWithNumericHeaders:Response", async () => {
23522376

23532377
headerDouble: 1.1,
23542378

2355-
headerIntegerList: [1, 2, 3],
2379+
headerIntegerList: [
2380+
1,
2381+
2382+
2,
2383+
2384+
3,
2385+
],
23562386
},
23572387
][0];
23582388
Object.keys(paramsToValidate).forEach((param) => {
@@ -4495,7 +4525,11 @@ it("XmlLists:Request", async () => {
44954525

44964526
stringSet: ["foo", "bar"],
44974527

4498-
integerList: [1, 2],
4528+
integerList: [
4529+
1,
4530+
4531+
2,
4532+
],
44994533

45004534
booleanList: [true, false],
45014535

@@ -4728,7 +4762,11 @@ it("XmlLists:Response", async () => {
47284762

47294763
stringSet: ["foo", "bar"],
47304764

4731-
integerList: [1, 2],
4765+
integerList: [
4766+
1,
4767+
4768+
2,
4769+
],
47324770

47334771
booleanList: [true, false],
47344772

0 commit comments

Comments
 (0)