Index: trunk/extensions/VisualEditor/tests/parser/parserTests.js |
— | — | @@ -370,6 +370,10 @@ |
371 | 371 | console.log('====================================================='); |
372 | 372 | console.log('FAILED'.red + ': ' + item.title.yellow); |
373 | 373 | console.log(item.comments.join('\n')); |
| 374 | + if (item.options) { |
| 375 | + console.log("OPTIONS".cyan + ":"); |
| 376 | + console.log(item.options + '\n'); |
| 377 | + } |
374 | 378 | console.log("INPUT".cyan + ":"); |
375 | 379 | console.log(item.input + "\n"); |
376 | 380 | } |
— | — | @@ -500,6 +504,7 @@ |
501 | 505 | switch(item.type) { |
502 | 506 | case 'article': |
503 | 507 | //processArticle(item); |
| 508 | + comments = []; |
504 | 509 | break; |
505 | 510 | case 'test': |
506 | 511 | if( test_filter && -1 === item.title.search( test_filter ) ) { |
— | — | @@ -515,6 +520,7 @@ |
516 | 521 | comments.push(item.comment); |
517 | 522 | break; |
518 | 523 | default: |
| 524 | + comments = []; |
519 | 525 | break; |
520 | 526 | } |
521 | 527 | } |