grid - open editors in active group when no ViewColumn is provided

This commit is contained in:
Benjamin Pasero
2018-05-22 11:25:02 +02:00
parent db3acf9e92
commit 026fc297fb
4 changed files with 10 additions and 13 deletions

View File

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