com php-src: Revert "Revert "Fix failing tests"": ext/mysqli/tests/010.phpt ext/mysqli/tests/011.phpt ext/mysqli/tests/012.phpt
| From: | Xinchen Hui | Date: | Fri, 26 Dec 2014 14:38:24 +0000 |
| Subject: | com php-src: Revert "Revert "Fix failing tests"": ext/mysqli/tests/010.phpt ext/mysqli/tests/011.phpt ext/mysqli/tests/012.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83873@lists.php.net to get a copy of this message | ||
Commit: 4409b6db3ee5f9fea7f004b48e427a50541ddec0
Author: Xinchen Hui <laruence@php.net> Fri, 26 Dec 2014 09:38:24 -0500
Parents: c71cd8f8e0debe0661be2b9d8b93e0319c450bcc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4409b6db3ee5f9fea7f004b48e427a50541ddec0
Log:
Revert "Revert "Fix failing tests""
This reverts commit c2a047cf99f3d020bab12701e8dafed7424673bf.
Changed paths:
M ext/mysqli/tests/010.phpt
M ext/mysqli/tests/011.phpt
M ext/mysqli/tests/012.phpt
Diff:
diff --git a/ext/mysqli/tests/010.phpt b/ext/mysqli/tests/010.phpt
index 60ff8ea..83a43e0 100644
--- a/ext/mysqli/tests/010.phpt
+++ b/ext/mysqli/tests/010.phpt
@@ -62,18 +62,18 @@ mysqli_close($link);
--EXPECT--
array(7) {
[0]=>
- float(3.14159274101)
+ float(3.141593)
[1]=>
- float(-9.99999997475E-7)
+ float(-1.0E-6)
[2]=>
float(0)
[3]=>
- float(999999995904)
+ float(1.0E+12)
[4]=>
- float(0..564642488956)
+ float(0.5646425)
[5]=>
float(1)
[6]=>
- float(8.88888914608E+14)
+ float(8.888889E+14)
}
-done!
\ No newline at end of file
+done!
diff --git a/ext/mysqli/tests/011.phpt b/ext/mysqli/tests/011.phpt
index db03aba..b14516f 100644
--- a/ext/mysqli/tests/011.phpt
+++ b/ext/mysqli/tests/011.phpt
@@ -67,7 +67,7 @@ array(8) {
[3]=>
int(4999999)
[4]=>
- float(2345.60009766)
+ float(2345.6)
[5]=>
float(5678.89563)
[6]=>
@@ -75,4 +75,4 @@ array(8) {
[7]=>
%unicode|string%(11) "mysql rulez"
}
-done!
\ No newline at end of file
+done!
diff --git a/ext/mysqli/tests/012.phpt b/ext/mysqli/tests/012.phpt
index 7cc34b0..91abae4 100644
--- a/ext/mysqli/tests/012.phpt
+++ b/ext/mysqli/tests/012.phpt
@@ -66,7 +66,7 @@ array(8) {
[3]=>
int(54)
[4]=>
- float(2.59999990463)
+ float(2.6)
[5]=>
float(58.89)
[6]=>
@@ -74,4 +74,4 @@ array(8) {
[7]=>
%unicode|string%(3) "6.7"
}
-done!
\ No newline at end of file
+done!