Fix test case -- remove commas from the expected result.

This commit is contained in:
cbegle%netscape.com 1999-06-14 21:06:54 +00:00
Родитель fa6ebcb1a6
Коммит cb992db4e8
1 изменённых файлов: 6 добавлений и 6 удалений

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

@ -2,19 +2,19 @@
* Version 1.0 (the "License"); you may not use this file except in * Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at * compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/ * http://www.mozilla.org/NPL/
* *
* Software distributed under the License is distributed on an "AS IS" * Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations * License for the specific language governing rights and limitations
* under the License. * under the License.
* *
* The Original Code is Mozilla Communicator client code, released March * The Original Code is Mozilla Communicator client code, released March
* 31, 1998. * 31, 1998.
* *
* The Initial Developer of the Original Code is Netscape Communications * The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998 * Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved. * Netscape Communications Corporation. All Rights Reserved.
* *
*/ */
/** /**
* java array objects "inherit" JS string methods. verify that byte arrays * java array objects "inherit" JS string methods. verify that byte arrays
@ -49,14 +49,14 @@
"b"+a.length, "b"+a.length,
"sort", "sort",
true, true,
getCharValues("J,S,a,a,c,i,p,r,t,v") ); getCharValues("JSaaciprtv") );
a[a.length] = new TestObject( a[a.length] = new TestObject(
"var b"+a.length+" = new java.lang.String(\"JavaScript\").getBytes(); b"+a.length+".sort().join() +''", "var b"+a.length+" = new java.lang.String(\"JavaScript\").getBytes(); b"+a.length+".sort().join() +''",
"b"+a.length, "b"+a.length,
"sort", "sort",
true, true,
getCharValues("J,S,a,a,c,i,p,r,t,v") ); getCharValues("JSaaciprtv") );
test(); test();