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,