mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
grid - open editors in active group when no ViewColumn is provided
This commit is contained in:
@@ -133,7 +133,7 @@ suite('window namespace tests', () => {
|
||||
}
|
||||
});
|
||||
|
||||
test('issue #25801 - default column when opening a file', async () => {
|
||||
test('default column when opening a file', async () => {
|
||||
const [docA, docB, docC] = await Promise.all([
|
||||
workspace.openTextDocument(await createRandomFile()),
|
||||
workspace.openTextDocument(await createRandomFile()),
|
||||
@@ -153,7 +153,7 @@ suite('window namespace tests', () => {
|
||||
`wanted fileName:${editor.document.fileName}/viewColumn:${editor.viewColumn} but got fileName:${window.activeTextEditor!.document.fileName}/viewColumn:${window.activeTextEditor!.viewColumn}. a:${docA.fileName}, b:${docB.fileName}, c:${docC.fileName}`
|
||||
);
|
||||
assert.ok(window.activeTextEditor!.document === docC);
|
||||
assert.equal(window.activeTextEditor!.viewColumn, ViewColumn.One);
|
||||
assert.equal(window.activeTextEditor!.viewColumn, ViewColumn.Two);
|
||||
});
|
||||
|
||||
test('issue #27408 - showTextDocument & vscode.diff always default to ViewColumn.One', async () => {
|
||||
|
||||
Reference in New Issue
Block a user