Fix error message in assertion

This commit is contained in:
Daniel García Aubert
2016-12-19 16:15:07 +01:00
parent 2ace705122
commit 2fdbc3e61c

View File

@@ -419,7 +419,7 @@ describe('multilayer error cases', function() {
},
function(res) {
var parsedBody = JSON.parse(res.body);
assert.deepEqual(parsedBody, { errors: ['SyntaxError: Unexpected token {'] });
assert.deepEqual(parsedBody, { errors: ['SyntaxError: Unexpected token { in JSON at position 1'] });
done();
}
);