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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user