Index: trunk/extensions/VisualEditor/tests/es/es.DocumentBranchNode.test.js |
— | — | @@ -925,6 +925,11 @@ |
926 | 926 | ' (from ' + selectNodesTests[i].input.start + |
927 | 927 | ' to ' + selectNodesTests[i].input.end + ')' |
928 | 928 | ); |
| 929 | + if ( console && console.log && !compare( result, selectNodesTests[i].output ) ) { |
| 930 | + console.log("Test " + (i+1) + " FAILED"); |
| 931 | + console.log( result ); |
| 932 | + console.log( selectNodesTests[i].output ); |
| 933 | + } |
929 | 934 | } else if ( 'exception' in selectNodesTests[i] ) { |
930 | 935 | raises( |
931 | 936 | function() { |