mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Remove diff resource
This commit is contained in:
@@ -383,9 +383,8 @@ suite('vscode API - window', () => {
|
||||
assert.strictEqual(tabs[1].resource?.toString(), notebookDoc.uri.toString());
|
||||
assert.strictEqual(tabs[2].resource?.toString(), docB.uri.toString());
|
||||
assert.strictEqual(tabs[3].resource?.toString(), docC.uri.toString());
|
||||
const diffResource = tabs[4].resource as { primary?: Uri, secondary?: Uri } | undefined;
|
||||
assert.strictEqual(diffResource?.secondary?.toString(), leftDiff.toString());
|
||||
assert.strictEqual(diffResource?.primary?.toString(), rightDiff.toString());
|
||||
// Diff editor and side by side editor report the right side as the resource
|
||||
assert.strictEqual(tabs[4].resource?.toString(), rightDiff.toString());
|
||||
|
||||
assert.strictEqual(tabs[0].viewColumn, ViewColumn.One);
|
||||
assert.strictEqual(tabs[1].viewColumn, ViewColumn.One);
|
||||
|
||||
Reference in New Issue
Block a user