mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
linkify stack lines for cell references
This commit is contained in:
committed by
Aaron Munger
parent
2123a011bf
commit
fe8ac3f89e
@@ -31,6 +31,8 @@ suite('StackTraceHelper', () => {
|
||||
'----> 2 raise Exception\n';
|
||||
|
||||
const formatted = formatStackTrace(stack);
|
||||
assert.ok(formatted.indexOf('<a href=\'vscode-notebook-cell:?execution=3\'>Cell In[3]</a>') > 0, formatted);
|
||||
assert.ok(formatted.indexOf('<a href=\'vscode-notebook-cell:?execution=3:2\'>2</a>') > 0, formatted);
|
||||
assert.ok(formatted.indexOf('<a href=\'C:\\venvs\\myLib.py:2\'>2</a>') > 0, formatted);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user