Don't print out control characters that break the driver.

git-svn-id: svn://10.0.0.236/trunk@51535 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
norris%netscape.com 1999-10-22 17:31:59 +00:00
parent 38e1413a00
commit 484a8455bd

View File

@ -60,13 +60,16 @@ function getTestCases() {
var u = new Unicode(i);
TEST_STRING += String.fromCharCode(i);
EXPECT_STRING += String.fromCharCode( u.upper );
}
}
// don't print out the value of the strings since they contain control
// characters that break the driver
var isEqual = EXPECT_STRING == (new String( TEST_STRING )).toUpperCase();
array[item++] = new TestCase( SECTION,
"new String( "+ TEST_STRING +" ).toUpperCase()",
EXPECT_STRING,
(new String( TEST_STRING )).toUpperCase() );
"isEqual",
true,
isEqual);
return array;
}
function test() {
@ -509,4 +512,5 @@ function DecimalToHexString( n ) {
}
return h;
}
}