summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2020-07-23 16:31:33 +1000
committerChristopher Jones <sixd@php.net>2020-07-23 16:31:33 +1000
commit99d2b24b154e1878ed2971e1651976298c6540ee (patch)
treec844c9a034d6adf1721ba0d673332ac22472e55c
parentb2d1736de8b00567ca007ed7e7461a20ef010c04 (diff)
downloadphp-git-99d2b24b154e1878ed2971e1651976298c6540ee.tar.gz
Make test decimal to binary conversion expectation more tolerant
-rw-r--r--ext/oci8/tests/array_bind_float.phpt4
-rw-r--r--ext/oci8/tests/array_bind_float1.phpt4
2 files changed, 4 insertions, 4 deletions
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)
}