Fix error in test. Arrays should be sorted by the string value of their

members, even if they're numbers.


git-svn-id: svn://10.0.0.236/trunk@35280 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbegle%netscape.com
1999-06-14 23:39:14 +00:00
parent a48894abaf
commit f8e8a60864

View File

@@ -49,14 +49,14 @@
"b"+a.length,
"sort",
true,
getCharValues("JSaaciprtv") );
"105,112,114,116,118,74,83,97,97,99" );
a[a.length] = new TestObject(
"var b"+a.length+" = new java.lang.String(\"JavaScript\").getBytes(); b"+a.length+".sort().join() +''",
"b"+a.length,
"sort",
true,
getCharValues("JSaaciprtv") );
"105,112,114,116,118,74,83,97,97,99" );
test();