Skip to content

Commit 245aed0

Browse files
authored
Remove deprecated NotebookCellData constructor parameter (#16390)
1 parent cd8f4d3 commit 245aed0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/insiders/languageServer.insiders.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ suite('Insiders Test: Language Server', () => {
101101
expect(activeEditor).not.to.be.equal(undefined, 'Active editor not found in notebook');
102102
await activeEditor!.edit((edit) => {
103103
edit.replaceCells(0, 0, [
104-
new vscode.NotebookCellData(vscode.NotebookCellKind.Code, PYTHON_LANGUAGE, 'x = 4', []),
104+
new vscode.NotebookCellData(vscode.NotebookCellKind.Code, PYTHON_LANGUAGE, 'x = 4'),
105105
]);
106106
});
107107

@@ -116,7 +116,7 @@ suite('Insiders Test: Language Server', () => {
116116
await activeEditor!.edit((edit) => {
117117
edit.replaceCells(0, 1, []);
118118
edit.replaceCells(1, 0, [
119-
new vscode.NotebookCellData(vscode.NotebookCellKind.Code, PYTHON_LANGUAGE, 'x = 4', []),
119+
new vscode.NotebookCellData(vscode.NotebookCellKind.Code, PYTHON_LANGUAGE, 'x = 4'),
120120
]);
121121
});
122122

0 commit comments

Comments
 (0)