Bug 997489 - Fix stray </tt> tag causing JS warning spam during jsreftests; r=Waldo

This commit is contained in:
Ed Morley 2014-04-24 10:33:10 +01:00
parent a518ef1da4
commit 665dcd1f38

View File

@ -108,7 +108,7 @@ function writeFormattedResult( expect, actual, string, passed ) {
var s = "<tt>"+ string ;
s += "<b>" ;
s += ( passed ) ? "<font color=#009900> &nbsp;" + PASSED
: "<font color=#aa0000>&nbsp;" + FAILED + expect + "</tt>";
: "<font color=#aa0000>&nbsp;" + FAILED + expect;
DocumentWrite( s + "</font></b></tt><br>" );
return passed;