]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Mon, 7 May 2007 22:30:16 +0000 (22:30 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 7 May 2007 22:30:16 +0000 (22:30 +0000)
ext/standard/tests/array/array_fill_keys.phpt
ext/standard/tests/array/max.phpt
ext/standard/tests/array/min.phpt
ext/standard/tests/array/range.phpt
ext/standard/tests/math/bug25694.phpt
ext/standard/tests/strings/sprintf_f_2.phpt
ext/standard/tests/strings/str_pad.phpt

index 65c38234cd03322e6e663cc46490ba171ce1932b..b4d51680ea4dfce0f3fc5e2641f6321448c23110 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 basic array_fill_keys test
+--INI--
+precision=14
 --FILE--
 <?php
        var_dump(array_fill_keys('test', 1));
index 7edcab7550d3e291c0547be9bfee78f3a114eff0..1495a78dc9c2701288ec0f3951d2fed1282c063c 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 max() tests
+--INI--
+precision=14
 --FILE--
 <?php
 
index 70e3555f1182d63bcd7a61d5e5a9a2079a5e2f25..dfb3c9bde83febfb710575bce79740a63c6d0ed0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 min() tests
+--INI--
+precision=14
 --FILE--
 <?php
 
index 23fb985f86250c7aae9f14238e61819188407851..8e336fe107256bb7995a28510ed42c96d35c146e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 range()
+--INI--
+precision=14
 --FILE--
 <?php
        var_dump(range(1, 100));
index 165e1db0830d7dc40809650dd6c6232d3489ed2a..d40d2b8cfa2ad018190493164cf619c1a30372f1 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #25694 (round() and number_format() inconsistency)
+--INI--
+precision=14
 --FILE--
 <?php
 echo "round 0.045 = " . round(0.045, 2) . "\n";
index d6006356f75ef5274cbfadb4c05ada23465336bd..a4b71bc46200660b79bfaf2482671d6fdcd17f34 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 sprintf %f #2
+--INI--
+precision=14
 --FILE--
 <?php
 var_dump(sprintf("%.3F", 100.426));
index d6111b034b7423b99350de94581ab139c1c67ccc..6eaff1514bd4bc1545f17efc87f97e97c1893088 100644 (file)
Binary files a/ext/standard/tests/strings/str_pad.phpt and b/ext/standard/tests/strings/str_pad.phpt differ