summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2019-11-07 21:31:47 +0100
committerFabien Villepinte <fabien.villepinte@gmail.com>2019-11-07 21:31:47 +0100
commita555cc0b3d4f745e6d0bb8c595de400a0c728827 (patch)
tree61afac4216a8e7e629a878b8a873d8b32b7cf4a4 /ext/bcmath
parent80cfd990740aef314b7943a3fa18c27a23f40566 (diff)
downloadphp-git-a555cc0b3d4f745e6d0bb8c595de400a0c728827.tar.gz
Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/tests/bcpow_error1.phpt2
-rw-r--r--ext/bcmath/tests/bcpow_error2.phpt2
-rw-r--r--ext/bcmath/tests/bug.66364.phpt2
-rw-r--r--ext/bcmath/tests/bug44995.phpt2
-rw-r--r--ext/bcmath/tests/bug46781.phpt2
-rw-r--r--ext/bcmath/tests/bug54598.phpt2
-rw-r--r--ext/bcmath/tests/bug75178.phpt2
-rw-r--r--ext/bcmath/tests/scale.phpt2
-rw-r--r--ext/bcmath/tests/scale_ini.phpt2
9 files changed, 0 insertions, 18 deletions
diff --git a/ext/bcmath/tests/bcpow_error1.phpt b/ext/bcmath/tests/bcpow_error1.phpt
index d3189f062a..2dc2dbd092 100644
--- a/ext/bcmath/tests/bcpow_error1.phpt
+++ b/ext/bcmath/tests/bcpow_error1.phpt
@@ -8,8 +8,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
<?php
var_dump(bcpow('1', '1.1', 2));
?>
-===DONE===
--EXPECTF--
Warning: bcpow(): non-zero scale in exponent in %s on line %d
string(4) "1.00"
-===DONE===
diff --git a/ext/bcmath/tests/bcpow_error2.phpt b/ext/bcmath/tests/bcpow_error2.phpt
index 49fd0b88d3..ca13875ed3 100644
--- a/ext/bcmath/tests/bcpow_error2.phpt
+++ b/ext/bcmath/tests/bcpow_error2.phpt
@@ -8,8 +8,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
<?php
var_dump(bcpow('0', '9223372036854775808', 2));
?>
-===DONE===
--EXPECTF--
Warning: bcpow(): exponent too large in %s on line %d
string(4) "1.00"
-===DONE===
diff --git a/ext/bcmath/tests/bug.66364.phpt b/ext/bcmath/tests/bug.66364.phpt
index 564f40e6da..08777c5f59 100644
--- a/ext/bcmath/tests/bug.66364.phpt
+++ b/ext/bcmath/tests/bug.66364.phpt
@@ -8,7 +8,5 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
<?php
var_dump(bcmul('0.3', '0.2', 4));
?>
-===DONE===
--EXPECT--
string(6) "0.0600"
-===DONE===
diff --git a/ext/bcmath/tests/bug44995.phpt b/ext/bcmath/tests/bug44995.phpt
index 6eb591f92b..9758022225 100644
--- a/ext/bcmath/tests/bug44995.phpt
+++ b/ext/bcmath/tests/bug44995.phpt
@@ -9,8 +9,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
var_dump(bcpowmod('4', '4', '3', 1));
var_dump(bcpowmod('3234', '32345', '22345', 1));
?>
-===DONE===
--EXPECT--
string(3) "1.0"
string(7) "17334.0"
-===DONE===
diff --git a/ext/bcmath/tests/bug46781.phpt b/ext/bcmath/tests/bug46781.phpt
index caffe83860..d9e4fe5111 100644
--- a/ext/bcmath/tests/bug46781.phpt
+++ b/ext/bcmath/tests/bug46781.phpt
@@ -9,8 +9,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
var_dump(bcadd('-0.0', '-0.0', 1));
var_dump(bccomp('-0.0', '0', 1));
?>
-===DONE===
--EXPECT--
string(3) "0.0"
int(0)
-===DONE===
diff --git a/ext/bcmath/tests/bug54598.phpt b/ext/bcmath/tests/bug54598.phpt
index 6ccd61a2d0..5f3337fadc 100644
--- a/ext/bcmath/tests/bug54598.phpt
+++ b/ext/bcmath/tests/bug54598.phpt
@@ -9,8 +9,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
var_dump(bcpowmod(5, 0, 1));
var_dump(bcpowmod(5, 0, 1, 3));
?>
-===DONE===
--EXPECT--
string(1) "0"
string(5) "0.000"
-===DONE===
diff --git a/ext/bcmath/tests/bug75178.phpt b/ext/bcmath/tests/bug75178.phpt
index e7661755ad..dd811fccb9 100644
--- a/ext/bcmath/tests/bug75178.phpt
+++ b/ext/bcmath/tests/bug75178.phpt
@@ -9,11 +9,9 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
var_dump(bcpowmod('4.1', '4', '3', 3));
var_dump(bcpowmod('4', '4', '3.1', 3));
?>
-===DONE===
--EXPECTF--
Warning: bcpowmod(): non-zero scale in base in %s on line %d
string(5) "1.000"
Warning: bcpowmod(): non-zero scale in modulus in %s on line %d
string(5) "1.000"
-===DONE===
diff --git a/ext/bcmath/tests/scale.phpt b/ext/bcmath/tests/scale.phpt
index d49e530511..e2e65cab22 100644
--- a/ext/bcmath/tests/scale.phpt
+++ b/ext/bcmath/tests/scale.phpt
@@ -15,7 +15,6 @@ echo
'bcsqrt: ', bcsqrt('4', 5), PHP_EOL,
'bcsub: ', bcsub('2', '1', 5), PHP_EOL;
?>
-===DONE===
--EXPECT--
bcadd: 3.00000
bcdiv: 2.00000
@@ -24,4 +23,3 @@ bcpow: 2.00000
bcpowmod: 2.00000
bcsqrt: 2.00000
bcsub: 1.00000
-===DONE===
diff --git a/ext/bcmath/tests/scale_ini.phpt b/ext/bcmath/tests/scale_ini.phpt
index 66d9d482bf..c75cf8edda 100644
--- a/ext/bcmath/tests/scale_ini.phpt
+++ b/ext/bcmath/tests/scale_ini.phpt
@@ -17,7 +17,6 @@ echo
'bcsqrt: ', bcsqrt('4'), PHP_EOL,
'bcsub: ', bcsub('2', '1'), PHP_EOL;
?>
-===DONE===
--EXPECT--
bcadd: 3.00000
bcdiv: 2.00000
@@ -26,4 +25,3 @@ bcpow: 2.00000
bcpowmod: 2.00000
bcsqrt: 2.00000
bcsub: 1.00000
-===DONE===