[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all array.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all array.as |
Date: |
Wed, 19 Mar 2008 09:04:36 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/03/19 09:04:36
Modified files:
testsuite/actionscript.all: array.as
Log message:
one more sparse.concat() test
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.53&r2=1.54
Patches:
Index: array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- array.as 19 Mar 2008 09:01:28 -0000 1.53
+++ array.as 19 Mar 2008 09:04:36 -0000 1.54
@@ -19,7 +19,7 @@
// Initial test written by Mike Carlson
-rcsid="$Id: array.as,v 1.53 2008/03/19 09:01:28 strk Exp $";
+rcsid="$Id: array.as,v 1.54 2008/03/19 09:04:36 strk Exp $";
#include "check.as"
check_equals(typeof(Array), 'function');
@@ -545,6 +545,10 @@
count=0; for (var i in csp) count++;
xcheck_equals(count, 7); // concat filled any holes
+csp = sparse1.concat('onemore');
+count=0; for (var i in csp) count++;
+xcheck_equals(count, 5); // concat filled any holes
+
//-------------------------------
// Test Array.splice
//-------------------------------
@@ -1278,11 +1282,11 @@
#if OUTPUT_VERSION < 6
- check_totals(446);
+ check_totals(447);
#else
# if OUTPUT_VERSION < 7
- check_totals(486);
+ check_totals(487);
# else
- check_totals(496);
+ check_totals(497);
# endif
#endif