com php-src: Make test decimal to binary conversion expectation more tolerant: ext/oci8/tests/array_bind_float.phpt ext/oc
i8/tests/array_bind_float1.phpt
| From: | Christopher Jones | Date: | Thu, 23 Jul 2020 06:31:33 +0000 |
| Subject: | com php-src: Make test decimal to binary conversion expectation more tolerant: ext/oci8/tests/array_bind_float.phpt ext/oc i8/tests/array_bind_float1.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112330@lists.php.net to get a copy of this message | ||
Commit: 99d2b24b154e1878ed2971e1651976298c6540ee
Author: Christopher Jones <sixd@php.net> Thu, 23 Jul 2020 16:31:33 +1000
Parents: b2d1736de8b00567ca007ed7e7461a20ef010c04
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=99d2b24b154e1878ed2971e1651976298c6540ee
Log:
Make test decimal to binary conversion expectation more tolerant
Changed paths:
M ext/oci8/tests/array_bind_float.phpt
M ext/oci8/tests/array_bind_float1.phpt
Diff:
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)
}