From: Timm Friebe Date: Mon, 10 Nov 2008 11:51:13 +0000 (+0000) Subject: - Adjusted tests to reality X-Git-Tag: BEFORE_HEAD_NS_CHANGE~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f39f064fe8423d3fd171fabd0892de45cb3b55f;p=php - Adjusted tests to reality # We select 123456789.12345679, we should have this returned and not # something 123456789.123457 (rounded) --- diff --git a/ext/sybase_ct/tests/bug29064.phpt b/ext/sybase_ct/tests/bug29064.phpt index 902fe43358..df13d28a1d 100644 --- a/ext/sybase_ct/tests/bug29064.phpt +++ b/ext/sybase_ct/tests/bug29064.phpt @@ -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)