Skip to content

Commit dd850e0

Browse files
author
Chris Wiechmann
committed
Update json2xmlTest.js
1 parent cfc6bcb commit dd850e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-builder-plugin-fn-xml-node/test/json2xmlTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('json2xmlTest', () => {
4848
expect(output).to.equal('error');
4949
expect(value).to.be.instanceOf(Error)
5050
.and.to.have.property('message');
51-
expect(value.message).to.include('Failed to convert JSON into XML. Error: Unexpected token ] in JSON at position 92');
51+
expect(value.message).to.include('Failed to convert JSON into XML. Error: Unexpected token ] in JSON');
5252
});
5353

5454
it('should fail with an empty Javascript object', async () => {

0 commit comments

Comments
 (0)