Skip to content

Commit

Permalink
fix(aws-restxml): pick up fix from smithy 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed May 11, 2021
1 parent efdb590 commit 3418829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol_tests/aws-restxml/tests/functional/restxml.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ it("BodyWithXmlName:Request", async () => {

expect(r.body).toBeDefined();
const utf8Encoder = client.config.utf8Encoder;
const bodyString = `<Ahoy><name>Phreddy</name></Ahoy>`;
const bodyString = `<Ahoy><nested><name>Phreddy</name></nested></Ahoy>`;
const unequalParts: any = compareEquivalentXmlBodies(bodyString, r.body.toString());
expect(unequalParts).toBeUndefined();
}
Expand All @@ -372,7 +372,7 @@ it("BodyWithXmlName:Response", async () => {
{
"content-type": "application/xml",
},
`<Ahoy><name>Phreddy</name></Ahoy>`
`<Ahoy><nested><name>Phreddy</name></nested></Ahoy>`
),
});

Expand Down

0 comments on commit 3418829

Please sign in to comment.