gnash-commit
[Top][All Lists]
Advanced

[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: Tue, 18 Mar 2008 10:41:59 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/03/18 10:41:59

Modified files:
        testsuite/actionscript.all: array.as 

Log message:
        minor additional test

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.47&r2=1.48

Patches:
Index: array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- array.as    18 Mar 2008 08:11:33 -0000      1.47
+++ array.as    18 Mar 2008 10:41:58 -0000      1.48
@@ -19,7 +19,7 @@
 // Initial test written by Mike Carlson
 
 
-rcsid="$Id: array.as,v 1.47 2008/03/18 08:11:33 strk Exp $";
+rcsid="$Id: array.as,v 1.48 2008/03/18 10:41:58 strk Exp $";
 #include "check.as"
 
 check_equals(typeof(Array), 'function');
@@ -317,6 +317,8 @@
 
 function testCmpBogus6 (x,y) { trysortarray.pop(); return 1; }
 trysortarray = new Array(1,2,3,4);
+check_equals ( trysortarray.toString(), "1,2,3,4" );
+check_equals ( trysortarray.length, 4 );
 trysortarray.sort( testCmpBogus6 );
 check_equals ( trysortarray.length, 4 );
 xcheck_equals ( trysortarray.toString(), "2,3,4,1" );
@@ -1122,11 +1124,11 @@
 
 
 #if OUTPUT_VERSION < 6
- check_totals(402);
+ check_totals(404);
 #else
 # if OUTPUT_VERSION < 7
-  check_totals(438);
+  check_totals(440);
 # else
-  check_totals(448);
+  check_totals(450);
 # endif
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]