gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/testsuite/actionscript.all Number.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Number.as
Date: Thu, 05 Oct 2006 14:13:01 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/05 14:13:01

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

Log message:
        use check_equals() rather then check(), add comment explaining why 
should work

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Number.as   19 Sep 2006 10:21:21 -0000      1.2
+++ Number.as   5 Oct 2006 14:13:00 -0000       1.3
@@ -47,7 +47,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //     
 
-rcsid="$Id: Number.as,v 1.2 2006/09/19 10:21:21 strk Exp $";
+rcsid="$Id: Number.as,v 1.3 2006/10/05 14:13:00 strk Exp $";
 
 #include "check.as"
 
@@ -60,5 +60,6 @@
 check ( ! (n1 === Number(268)) );
 #endif
 
-check ( n1 == 268 );
+// but they have the same numeric value
+check_equals ( n1 , 268 );
 




reply via email to

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