Let another test pass by swapping the default order of italic/bold for '''''.

Minor test output cosmetics.
This commit is contained in:
Gabriel Wicke 2011-11-30 13:54:57 +00:00
parent e0fca805a6
commit f758894de7
2 changed files with 7 additions and 7 deletions

View file

@ -240,11 +240,11 @@
case 5:
// order does not matter here, will be fixed
// by HTML parser backend
bolds.push(i + inserted);
out.push({type: 'QUOTE', value: "'''"});
inserted++;
italics.push(i + inserted);
out.push({type: 'QUOTE', value: "''"});
inserted++;
bolds.push(i + inserted);
out.push({type: 'QUOTE', value: "'''"});
break;
default: // longer than 5, only use the last 5 ticks
token.value = "'''''";
@ -255,11 +255,11 @@
out.push({type: 'TEXT', value: newvalue});
inserted++;
}
bolds.push(i + inserted);
out.push({type: 'QUOTE', value: "'''"});
inserted++;
italics.push(i + inserted);
out.push({type: 'QUOTE', value: "''"});
inserted++;
bolds.push(i + inserted);
out.push({type: 'QUOTE', value: "'''"});
break;
}
break;

View file

@ -197,7 +197,7 @@ function processTest(item) {
function printTitle() {
console.log('=====================================================');
console.log(item.title);
console.log('FAILED: ' + item.title);
console.log(item.comments.join('\n'));
console.log("INPUT:");
console.log(item.input + "\n");