mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
fix tests
This commit is contained in:
@@ -619,7 +619,7 @@ suite('vscode API - workspace', () => {
|
||||
assert.equal(results.length, 1);
|
||||
const match = <vscode.TextSearchMatch>results[0];
|
||||
assert(match.preview.text.indexOf('foo') >= 0);
|
||||
assert.equal(vscode.workspace.asRelativePath(match.uri), '10linefile.ts');
|
||||
assert.equal(basename(vscode.workspace.asRelativePath(match.uri)), '10linefile.ts');
|
||||
});
|
||||
|
||||
test('findTextInFiles, cancellation', async () => {
|
||||
|
||||
Reference in New Issue
Block a user