]> granicus.if.org Git - php/commitdiff
Make test decimal to binary conversion expectation more tolerant
authorChristopher Jones <sixd@php.net>
Thu, 23 Jul 2020 06:31:33 +0000 (16:31 +1000)
committerChristopher Jones <sixd@php.net>
Thu, 23 Jul 2020 06:31:33 +0000 (16:31 +1000)
ext/oci8/tests/array_bind_float.phpt
ext/oci8/tests/array_bind_float1.phpt

index 7b6dfc680ccfce0b526a94eec2f158f0e89db450..4eb7d4e54665d1b551855aebf6e69deaefe702d3 100644 (file)
@@ -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)
 }
index 8fbb69422827e2fd95275a6ed0740397ecb6d1c1..e5eb136d7b69092bfa8c754b9c3b6b875c37f82e 100644 (file)
@@ -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)
 }