]> granicus.if.org Git - php/commitdiff
Correct output.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 17 May 2004 20:58:57 +0000 (20:58 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 17 May 2004 20:58:57 +0000 (20:58 +0000)
ext/standard/tests/strings/bug26973.phpt
tests/strings/002.phpt

index ef286e2c431428a4e2deb7f4b3fa6641dd4e56c8..4a586ecaa28dc74761b66246d9f97a101915a1e7 100644 (file)
@@ -21,14 +21,14 @@ printf("%05u\n", -200);
 --EXPECT--
 +0200
 -0200
-+0200.000000
--0200.000000
++200.000000
+-200.000000
 00200
 4294967096
 ---
 00200
 -0200
-00200.000000
--0200.000000
+200.000000
+-200.000000
 00200
 4294967096
index 25c8875ec9ab426a0dd9324a84807d0a42eddb4f..c3fcf6db5e6c2713e910d70690d52e2529d0bd55 100644 (file)
@@ -53,16 +53,16 @@ printf test 1:simple string
 printf test 2:42
 printf test 3:3.333333
 printf test 4:3.3333333333
-printf test 5:2.50         
-printf test 6:2.50000000000
-printf test 7:0000000002.50
+printf test 5:2.50      
+printf test 6:2.50000000
+printf test 7:0000002.50
 printf test 8:<                 foo>
 printf test 9:<bar                 >
 printf test 10: 123456789012345
 printf test 10:<høyesterettsjustitiarius>
 printf test 11: 123456789012345678901234567890
 printf test 11:<      høyesterettsjustitiarius>
-printf test 12:  -12.34
+printf test 12:-12.34
 printf test 13:  -12
 printf test 14:@
 printf test 15:10101010