From 3228719b26345d3fd20eaa358f400e29773413d7 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 9 Jan 2015 13:26:40 -0800 Subject: [PATCH] fix highlight test for failed highlighting not sure how this ever succeeded, but it's failing now --- IPython/html/tests/base/highlight.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/IPython/html/tests/base/highlight.js b/IPython/html/tests/base/highlight.js index dbab79e5e..155d13f3c 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,