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

This commit is contained in:
norris%netscape.com 1999-10-22 17:31:59 +00:00
Родитель 079455f8ab
Коммит 9a8c3dfaeb
1 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -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;
}
}