From e9b0944edb823df2c18339901036a226528b1c4b 2015-01-10 19:05:45 From: Min RK Date: 2015-01-10 19:05:45 Subject: [PATCH] fix highlight test for failed highlighting not sure how this ever succeeded, but it's failing now --- diff --git a/IPython/html/tests/base/highlight.js b/IPython/html/tests/base/highlight.js index dbab79e..155d13f 100644 --- a/IPython/html/tests/base/highlight.js +++ b/IPython/html/tests/base/highlight.js @@ -3,8 +3,8 @@ casper.notebook_test(function () { if(data.error_expected){ that.test.assertEquals( data.error, - data.expected, - "!highlight: " + data.provided + " errors " + data.expected + true, + "!highlight: " + data.provided + " errors" ); }else{ that.test.assertEquals( @@ -44,9 +44,9 @@ casper.notebook_test(function () { window.callPhantom({ provided: from, expected: expected, - error: error, + error: true, error_expected: error_expected - }); + }); }); }, { from: from,