mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Merge from vscode 591842cc4b71958c81947b254924a215fe3edcbd (#4886)
This commit is contained in:
@@ -40,8 +40,7 @@ suite('ExtHostConfiguration', function () {
|
||||
user: new ConfigurationModel(contents),
|
||||
workspace: new ConfigurationModel(),
|
||||
folders: Object.create(null),
|
||||
configurationScopes: {},
|
||||
isComplete: true
|
||||
configurationScopes: {}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -279,8 +278,7 @@ suite('ExtHostConfiguration', function () {
|
||||
}, ['editor.wordWrap']),
|
||||
workspace: new ConfigurationModel({}, []),
|
||||
folders: Object.create(null),
|
||||
configurationScopes: {},
|
||||
isComplete: true
|
||||
configurationScopes: {}
|
||||
}
|
||||
);
|
||||
|
||||
@@ -328,8 +326,7 @@ suite('ExtHostConfiguration', function () {
|
||||
}, ['editor.wordWrap']),
|
||||
workspace,
|
||||
folders,
|
||||
configurationScopes: {},
|
||||
isComplete: true
|
||||
configurationScopes: {}
|
||||
}
|
||||
);
|
||||
|
||||
@@ -405,8 +402,7 @@ suite('ExtHostConfiguration', function () {
|
||||
}, ['editor.wordWrap']),
|
||||
workspace,
|
||||
folders,
|
||||
configurationScopes: {},
|
||||
isComplete: true
|
||||
configurationScopes: {}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -1046,9 +1046,9 @@ suite('ExtHostLanguageFeatures', function () {
|
||||
}));
|
||||
|
||||
await rpcProtocol.sync();
|
||||
let value = await getLinks(model, CancellationToken.None);
|
||||
assert.equal(value.length, 1);
|
||||
let [first] = value;
|
||||
let { links } = await getLinks(model, CancellationToken.None);
|
||||
assert.equal(links.length, 1);
|
||||
let [first] = links;
|
||||
assert.equal(first.url, 'foo:bar#3');
|
||||
assert.deepEqual(first.range, { startLineNumber: 1, startColumn: 1, endLineNumber: 2, endColumn: 2 });
|
||||
});
|
||||
@@ -1068,9 +1068,9 @@ suite('ExtHostLanguageFeatures', function () {
|
||||
}));
|
||||
|
||||
await rpcProtocol.sync();
|
||||
let value = await getLinks(model, CancellationToken.None);
|
||||
assert.equal(value.length, 1);
|
||||
let [first] = value;
|
||||
let { links } = await getLinks(model, CancellationToken.None);
|
||||
assert.equal(links.length, 1);
|
||||
let [first] = links;
|
||||
assert.equal(first.url, 'foo:bar#3');
|
||||
assert.deepEqual(first.range, { startLineNumber: 1, startColumn: 1, endLineNumber: 2, endColumn: 2 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user