]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Mon, 25 Dec 2006 14:27:51 +0000 (14:27 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 25 Dec 2006 14:27:51 +0000 (14:27 +0000)
ext/standard/tests/general_functions/001.phpt
ext/standard/tests/strings/bug22207.phpt

index 164bd7fb2154ca6caa5f9bb2c32d0d8fc6d68837..bfd82e55b0b20ce88c22922a9e98326e869ff1fc 100644 (file)
@@ -61,7 +61,7 @@ sprintf octal binary test:      passed
 sprintf float test:             passed
 99.00
 99.00
-1.23400e-18
-1.23400e+18
-9.84324e+6
--9.84324e+6
+1.234000e-18
+1.234000e+18
+9.843243e+6
+-9.843243e+6
index 688bb5b74493ea2f8fd2a0246b589284d0b74ac6..32a15d73cd1866ae3c86f00efb20c201e52e9bcd 100644 (file)
@@ -6,6 +6,6 @@ Bug #22207 (missing 0 when using the e notation in *printf functions)
        var_dump(sprintf("%10.5e\n", 1.1));
 ?>
 --EXPECT--
-1.1000e+0
-string(11) " 1.1000e+0
+1.10000e+0
+string(11) "1.10000e+0
 "