Fixes #3824: NLS build has an issue with \' in string

This commit is contained in:
Dirk Baeumer
2016-03-09 09:58:15 +01:00
parent 9f5da0577d
commit ec3c8c3be4

View File

@@ -367,8 +367,7 @@ suite('JSON Schema', () => {
service.clearExternalSchemas();
return service.getSchemaForResource('main.bar', null).then(resolvedSchema => {
assert.equal(resolvedSchema.errors.length, 1);
// commented out until issue #3824 is fixed
// assert.equal(resolvedSchema.errors[0], "Problems loading reference 'http://myschemastore/myschemafoo': Unable to load schema from 'http://myschemastore/myschemafoo': Not Found. The requested location could not be found.");
assert.equal(resolvedSchema.errors[0], "Problems loading reference 'http://myschemastore/myschemafoo': Unable to load schema from 'http://myschemastore/myschemafoo': Not Found. The requested location could not be found.");
service.clearExternalSchemas();
service.registerExternalSchema(id2, null, schema2);