]> granicus.if.org Git - php/commitdiff
- Adjusted tests to reality
authorTimm Friebe <thekid@php.net>
Sat, 8 Nov 2008 13:32:29 +0000 (13:32 +0000)
committerTimm Friebe <thekid@php.net>
Sat, 8 Nov 2008 13:32:29 +0000 (13:32 +0000)
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)

ext/sybase_ct/tests/bug29064.phpt

index 902fe43358ac30f7befd6d25a0796e3527abfb13..df13d28a1d8c78392994daa2bd13ebbdaa98cf3c 100644 (file)
@@ -112,9 +112,9 @@ array(2) {
     ["test_tinyint"]=>
     int(123)
     ["test_real"]=>
-    string(16) "123456789.123457"
+    string(18) "123456789.12345679"
     ["test_double"]=>
-    string(16) "123456789.123457"
+    string(18) "123456789.12345679"
   }
   [1]=>
   array(10) {
@@ -135,9 +135,9 @@ array(2) {
     ["test_tinyint"]=>
     int(255)
     ["test_real"]=>
-    string(17) "-123456789.123457"
+    string(19) "-123456789.12345679"
     ["test_double"]=>
-    string(17) "-123456789.123457"
+    string(19) "-123456789.12345679"
   }
 }
 bool(true)