Skip to content

Commit fb99d84

Browse files
authored
test(protocol): compare xml payload correctly (#2840)
1 parent 1e2a316 commit fb99d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6768,7 +6768,7 @@ const compareEquivalentXmlBodies = (expectedBody: string, generatedBody: string)
67686768
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
67696769
delete parsedObjToReturn[textNodeName];
67706770
}
6771-
return parsedObjToReturn;
6771+
return parsedObj;
67726772
};
67736773

67746774
const expectedParts = parseXmlBody(expectedBody);

0 commit comments

Comments
 (0)