提交 de057817 编写于 作者: M Martin Aeschlimann

Tweek JSON Schema contributions test

上级 801819ee
......@@ -367,7 +367,7 @@ suite('JSON Schema', () => {
service.clearExternalSchemas();
return service.getSchemaForResource('main.bar', null).then(resolvedSchema => {
assert.equal(resolvedSchema.errors.length, 1);
assert.ok(resolvedSchema.errors[0].indexOf("Problems loading reference 'http://myschemastore/myschemafoo'") === 0);
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册