gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ./ChangeLog testsuite/actionscript.all/Gl...


From: strk
Subject: [Gnash-commit] gnash ./ChangeLog testsuite/actionscript.all/Gl...
Date: Fri, 10 Feb 2006 01:35:55 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     strk <address@hidden>   06/02/10 01:35:55

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: Global.as 

Log message:
        added two more tests, fixed existing test to bypass preprocessor 
mangling.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.114&tr2=1.115&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/testsuite/actionscript.all/Global.as.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.114 gnash/ChangeLog:1.115
--- gnash/ChangeLog:1.114       Thu Feb  9 22:39:58 2006
+++ gnash/ChangeLog     Fri Feb 10 01:35:55 2006
@@ -9,6 +9,8 @@
 
        * doc/C/Makefile.am: spaces => tab
        * doc/C/internals.xml: about writing tests
+       * testsuite/actionscript.all/Global.as: added two more tests,
+       fixed existing test to bypass preprocessor mangling.
 
 2006-02-09 Michael Carlson <address@hidden>
 
Index: gnash/testsuite/actionscript.all/Global.as
diff -u gnash/testsuite/actionscript.all/Global.as:1.5 
gnash/testsuite/actionscript.all/Global.as:1.6
--- gnash/testsuite/actionscript.all/Global.as:1.5      Thu Feb  9 10:02:17 2006
+++ gnash/testsuite/actionscript.all/Global.as  Fri Feb 10 01:35:55 2006
@@ -32,7 +32,7 @@
 check ( parseInt('-1234') == -1234 );
 check ( parseInt('-1.234') == -1 );
 // Test parseint with hex
-check ( parseInt('             0x111') == 273 );
+check ( parseInt('0x111') == 273 );
 // Test parseint with octal
 check ( parseInt('   0352') == 234 );
 // Test parseint with 36 base
@@ -44,6 +44,8 @@
 check ( isNaN(parseInt('zero')) );
 // parseInt returns NaN (which is different from infinity)
 check ( isFinite(parseInt('none')) );
+check ( ! isFinite(1/0) );
+check ( ! isNaN(1/0) );
 
 // It's not reliable to compare a double type with ==, so we'll give it a
 // small range using >= and <=




reply via email to

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