##// END OF EJS Templates
fix highlight test for failed highlighting...
Min RK -
Show More
@@ -3,8 +3,8 b' casper.notebook_test(function () {'
3 if(data.error_expected){
3 if(data.error_expected){
4 that.test.assertEquals(
4 that.test.assertEquals(
5 data.error,
5 data.error,
6 data.expected,
6 true,
7 "!highlight: " + data.provided + " errors " + data.expected
7 "!highlight: " + data.provided + " errors"
8 );
8 );
9 }else{
9 }else{
10 that.test.assertEquals(
10 that.test.assertEquals(
@@ -44,9 +44,9 b' casper.notebook_test(function () {'
44 window.callPhantom({
44 window.callPhantom({
45 provided: from,
45 provided: from,
46 expected: expected,
46 expected: expected,
47 error: error,
47 error: true,
48 error_expected: error_expected
48 error_expected: error_expected
49 });
49 });
50 });
50 });
51 }, {
51 }, {
52 from: from,
52 from: from,
General Comments 0
You need to be logged in to leave comments. Login now