From eef949eda97e73174383d05e14ebc4cb7294a8d7 Mon Sep 17 00:00:00 2001 From: "Nicholas Bollweg (Nick)" Date: Sat, 22 Nov 2014 11:39:44 -0500 Subject: [PATCH] fixing tests --- IPython/html/tests/base/highlight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/tests/base/highlight.js b/IPython/html/tests/base/highlight.js index 32705988c..dbab79e5e 100644 --- a/IPython/html/tests/base/highlight.js +++ b/IPython/html/tests/base/highlight.js @@ -31,7 +31,7 @@ casper.notebook_test(function () { {from: ["../"], error: true}, {from: ["//"], error: true}, ].map(function (mode) { - mode.from.concat(mode.to || []).map(function(from){ + (mode.from || []).concat(mode.to || []).map(function(from){ casper.evaluate(function(from, expected, error_expected){ IPython.utils.requireCodeMirrorMode(from, function(observed){ window.callPhantom({