kraghuba                Mon Dec  3 12:04:26 2007 UTC

  Modified files:              
    /php-src/ext/standard/tests/strings vsprintf_variation2.phpt 
                                        vsprintf_variation1.phpt 
  Log:
  fix tests: better float values
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vsprintf_variation2.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/vsprintf_variation2.phpt
diff -u php-src/ext/standard/tests/strings/vsprintf_variation2.phpt:1.3 
php-src/ext/standard/tests/strings/vsprintf_variation2.phpt:1.4
--- php-src/ext/standard/tests/strings/vsprintf_variation2.phpt:1.3     Tue Oct 
 9 11:51:48 2007
+++ php-src/ext/standard/tests/strings/vsprintf_variation2.phpt Mon Dec  3 
12:04:26 2007
@@ -45,8 +45,8 @@
   // float data
   10.5,
   -10.5,
-  10.5e10,
-  10.6E-10,
+  10.1234567e10,
+  10.7654321E-10,
   .5,
 
   // null data
@@ -115,10 +115,10 @@
 string(5) "-10.5"
 
 -- Iteration 7 --
-string(12) "105000000000"
+string(12) "101234567000"
 
 -- Iteration 8 --
-string(7) "1.06E-9"
+string(13) "1.07654321E-9"
 
 -- Iteration 9 --
 string(3) "0.5"
@@ -175,7 +175,6 @@
 -- Iteration 23 --
 string(%d) "Resource id #%d"
 Done
-
 --UEXPECTF--
 *** Testing vsprintf() : with unexpected values for args argument ***
 
@@ -198,10 +197,10 @@
 unicode(5) "-10.5"
 
 -- Iteration 7 --
-unicode(12) "105000000000"
+unicode(12) "101234567000"
 
 -- Iteration 8 --
-unicode(7) "1.06E-9"
+unicode(13) "1.07654321E-9"
 
 -- Iteration 9 --
 unicode(3) "0.5"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vsprintf_variation1.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vsprintf_variation1.phpt
diff -u php-src/ext/standard/tests/strings/vsprintf_variation1.phpt:1.2 
php-src/ext/standard/tests/strings/vsprintf_variation1.phpt:1.3
--- php-src/ext/standard/tests/strings/vsprintf_variation1.phpt:1.2     Fri Oct 
 5 18:12:35 2007
+++ php-src/ext/standard/tests/strings/vsprintf_variation1.phpt Mon Dec  3 
12:04:26 2007
@@ -45,8 +45,8 @@
   // float data
   10.5,
   -10.5,
-  10.5e10,
-  10.6E-10,
+  10.1234567e10,
+  10.7654321E-10,
   .5,
 
   // array data
@@ -120,10 +120,10 @@
 string(5) "-10.5"
 
  -- Iteration 7 --
-string(12) "105000000000"
+string(12) "101234567000"
 
  -- Iteration 8 --
-string(7) "1.06E-9"
+string(13) "1.07654321E-9"
 
  -- Iteration 9 --
 string(3) "0.5"
@@ -189,7 +189,6 @@
  -- Iteration 26 --
 string(%d) "Resource id #%d"
 Done
-
 --UEXPECTF--
 *** Testing vsprintf() : with unexpected values for format argument ***
 
@@ -212,10 +211,10 @@
 unicode(5) "-10.5"
 
  -- Iteration 7 --
-unicode(12) "105000000000"
+unicode(12) "101234567000"
 
  -- Iteration 8 --
-unicode(7) "1.06E-9"
+unicode(13) "1.07654321E-9"
 
  -- Iteration 9 --
 unicode(3) "0.5"

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to