]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Mon, 7 May 2007 22:33:39 +0000 (22:33 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 7 May 2007 22:33:39 +0000 (22:33 +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 788a0a385f8abba68bac11c60a8e269f03927b14..cf1fbb5cb5adb7cbea2ee58a72ca51f18e237d44 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 30d9e559fb1cefb3094008f7a545f71afcebed59..85255089084f7c03d58c9fd4410ea4e80be30983 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 max() tests
+--INI--
+precision=14
 --FILE--
 <?php
 
index cc0370a13e85ab9c23cc745b5d0490f7058e4d60..e104b2b5e7cf9306a0f6c052901eec855bde0fcf 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 min() tests
+--INI--
+precision=14
 --FILE--
 <?php
 
index 049260c36d9ebd17307847945360101a341fc084..e20c40361a48131e2a3bef967bd90747d7a9a0bf 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 9410cbd22045fc41a506357b524b7f6b018b5a00..1c391f312275401fe473753f912ccb877bc69579 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 sprintf %f #2
+--INI--
+precision=14
 --FILE--
 <?php
 var_dump(sprintf("%.3F", 100.426));
index fe0409df555f1aa23eaa28f75bb53eef6c3f3524..8cca4dfc79d004b8668a5c6f12809df6e62af452 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 str_pad() tests
+--INI--
+precision=14
 --FILE--
 <?php
 /* Pad a string to a certain length with another string */