Skip to content

Commit

Permalink
fix(protocol_tests): format files using prettier v2.3.0 (#2467)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jun 6, 2021
1 parent 72cc2dc commit cce6231
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 16 deletions.
6 changes: 5 additions & 1 deletion protocol_tests/aws-ec2/tests/functional/ec2query.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,11 @@ it("Ec2XmlLists:Response", async () => {

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

integerList: [1, 2],
integerList: [
1,

2,
],

booleanList: [true, false],

Expand Down
6 changes: 5 additions & 1 deletion protocol_tests/aws-query/tests/functional/awsquery.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,11 @@ it("QueryXmlLists:Response", async () => {

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

integerList: [1, 2],
integerList: [
1,

2,
],

booleanList: [true, false],

Expand Down
52 changes: 45 additions & 7 deletions protocol_tests/aws-restjson/tests/functional/restjson1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,35 @@ it("RestJsonAllQueryStringTypes:Request", async () => {

queryInteger: 3,

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

queryIntegerSet: [1, 2, 3],
2,

3,
],

queryIntegerSet: [
1,

2,

3,
],

queryLong: 4,

queryFloat: 1.1,

queryDouble: 1.1,

queryDoubleList: [1.1, 2.1, 3.1],
queryDoubleList: [
1.1,

2.1,

3.1,
],

queryBoolean: true,

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

headerDouble: 1.1,

headerIntegerList: [1, 2, 3],
headerIntegerList: [
1,

2,

3,
],
} as any);
try {
await client.send(command);
Expand Down Expand Up @@ -2386,7 +2410,13 @@ it("RestJsonInputAndOutputWithNumericHeaders:Response", async () => {

headerDouble: 1.1,

headerIntegerList: [1, 2, 3],
headerIntegerList: [
1,

2,

3,
],
},
][0];
Object.keys(paramsToValidate).forEach((param) => {
Expand Down Expand Up @@ -2729,7 +2759,11 @@ it("RestJsonLists:Request", async () => {

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

integerList: [1, 2],
integerList: [
1,

2,
],

booleanList: [true, false],

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

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

integerList: [1, 2],
integerList: [
1,

2,
],

booleanList: [true, false],

Expand Down
52 changes: 45 additions & 7 deletions protocol_tests/aws-restxml/tests/functional/restxml.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,17 +208,35 @@ it("AllQueryStringTypes:Request", async () => {

queryInteger: 3,

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

queryIntegerSet: [1, 2, 3],
2,

3,
],

queryIntegerSet: [
1,

2,

3,
],

queryLong: 4,

queryFloat: 1.1,

queryDouble: 1.1,

queryDoubleList: [1.1, 2.1, 3.1],
queryDoubleList: [
1.1,

2.1,

3.1,
],

queryBoolean: true,

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

headerDouble: 1.1,

headerIntegerList: [1, 2, 3],
headerIntegerList: [
1,

2,

3,
],
} as any);
try {
await client.send(command);
Expand Down Expand Up @@ -2352,7 +2376,13 @@ it("InputAndOutputWithNumericHeaders:Response", async () => {

headerDouble: 1.1,

headerIntegerList: [1, 2, 3],
headerIntegerList: [
1,

2,

3,
],
},
][0];
Object.keys(paramsToValidate).forEach((param) => {
Expand Down Expand Up @@ -4495,7 +4525,11 @@ it("XmlLists:Request", async () => {

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

integerList: [1, 2],
integerList: [
1,

2,
],

booleanList: [true, false],

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

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

integerList: [1, 2],
integerList: [
1,

2,
],

booleanList: [true, false],

Expand Down

0 comments on commit cce6231

Please sign in to comment.