mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
fix integration test
This commit is contained in:
@@ -568,7 +568,7 @@ suite('workspace-namespace', () => {
|
||||
|
||||
test('applyEdit should fail when editing renamed from resource', async () => {
|
||||
const resource = await createRandomFile();
|
||||
const newResource = vscode.Uri.parse(resource.fsPath + '.1');
|
||||
const newResource = vscode.Uri.file(resource.fsPath + '.1');
|
||||
const edit = new vscode.WorkspaceEdit();
|
||||
edit.renameFile(resource, newResource);
|
||||
edit.insert(resource, new vscode.Position(0, 0), '');
|
||||
|
||||
Reference in New Issue
Block a user