diff --git a/src/sql/workbench/contrib/notebook/test/browser/outputProcessor.test.ts b/src/sql/workbench/contrib/notebook/test/browser/outputProcessor.test.ts index f637e97ae8..9f584a8d4f 100644 --- a/src/sql/workbench/contrib/notebook/test/browser/outputProcessor.test.ts +++ b/src/sql/workbench/contrib/notebook/test/browser/outputProcessor.test.ts @@ -49,7 +49,7 @@ suite('OutputProcessor functions', function (): void { evalue: evalue, traceback: traceback }; - test.skip(`test for outputType:'${output.output_type}', ename:'${ename}', evalue:${evalue}, and traceback:${JSON.stringify(traceback)}`, () => { + test(`test for outputType:'${output.output_type}', ename:'${ename}', evalue:${evalue}, and traceback:${JSON.stringify(traceback)}`, () => { verifyGetDataForErrorOutput(output); }); } @@ -149,7 +149,7 @@ function verifyGetDataForStreamOutput(output: nbformat.IStream): void { function verifyGetDataForErrorOutput(output: nbformat.IError): void { const result = op.getData(output); - const tracedata = (output.traceback === undefined || output.traceback.length > 0) ? undefined : output.traceback.join('\n'); + const tracedata = (output.traceback === undefined || output.traceback.length === 0) ? undefined : output.traceback.join('\n'); // getData returns an object with single property: 'application/vnd.jupyter.stderr' // this property is assigned to a '\n' delimited traceback data when it is present. // when traceback is absent this property gets ename and evalue information with ': ' as delimiter unless