This commit is contained in:
rebornix
2020-06-11 15:24:10 -07:00
parent 338eb5c82d
commit ad30a37105
3 changed files with 4 additions and 3 deletions

View File

@@ -716,8 +716,8 @@ suite('metadata', () => {
await vscode.commands.executeCommand('notebook.cell.copyDown');
const activeCell = vscode.notebook.activeNotebookEditor!.selection;
assert.equal(vscode.notebook.activeNotebookEditor!.document.cells.indexOf(activeCell!), 1);
assert.equal(activeCell?.metadata.custom!['testCellMetadata'] as number, 123));
});
assert.equal(activeCell?.metadata.custom!['testCellMetadata'] as number, 123);
});
});
suite('regression', () => {