From: Christopher Jones Date: Thu, 23 Jul 2020 06:31:33 +0000 (+1000) Subject: Make test decimal to binary conversion expectation more tolerant X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99d2b24b154e1878ed2971e1651976298c6540ee;p=php Make test decimal to binary conversion expectation more tolerant --- diff --git a/ext/oci8/tests/array_bind_float.phpt b/ext/oci8/tests/array_bind_float.phpt index 7b6dfc680c..4eb7d4e546 100644 --- a/ext/oci8/tests/array_bind_float.phpt +++ b/ext/oci8/tests/array_bind_float.phpt @@ -61,7 +61,7 @@ var_dump($array); echo "Done\n"; ?> ---EXPECT-- +--EXPECTF-- array(5) { [0]=> float(5.9999) @@ -70,7 +70,7 @@ array(5) { [2]=> float(3.4234) [3]=> - float(2.5658) + float(2.5658%S) [4]=> float(1.243) } diff --git a/ext/oci8/tests/array_bind_float1.phpt b/ext/oci8/tests/array_bind_float1.phpt index 8fbb694228..e5eb136d7b 100644 --- a/ext/oci8/tests/array_bind_float1.phpt +++ b/ext/oci8/tests/array_bind_float1.phpt @@ -61,7 +61,7 @@ var_dump($array); echo "Done\n"; ?> ---EXPECT-- +--EXPECTF-- array(5) { [0]=> float(5.9999) @@ -70,7 +70,7 @@ array(5) { [2]=> float(3.4234) [3]=> - float(2.5658) + float(2.5658%S) [4]=> float(1.243) }