fix tests

This commit is contained in:
Joao Moreno
2021-04-20 09:10:28 +02:00
parent e74712bda1
commit b4816cfd1f

View File

@@ -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 () => {