diff options
| author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-19 05:59:41 -0300 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-02-20 21:53:48 +0100 |
| commit | ded3d984c6133b1f508ed84e96df3316e207c99b (patch) | |
| tree | 175c208197d72966fbeb22c1df9dac0a1a33124f /ext/bcmath/tests | |
| parent | a00286921e8963d284a7a5db0c1fecffa6cb6b54 (diff) | |
| download | php-git-ded3d984c6133b1f508ed84e96df3316e207c99b.tar.gz | |
Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
Diffstat (limited to 'ext/bcmath/tests')
| -rw-r--r-- | ext/bcmath/tests/bcadd_variation001.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bccomp_variation001.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bccomp_variation002.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bcpow_variation001.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bcscale_variation001.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bcscale_variation002.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bcsqrt_variation001.phpt | 2 | ||||
| -rw-r--r-- | ext/bcmath/tests/bug60377.phpt | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/ext/bcmath/tests/bcadd_variation001.phpt b/ext/bcmath/tests/bcadd_variation001.phpt index a0a64f6343..4d80a280b0 100644 --- a/ext/bcmath/tests/bcadd_variation001.phpt +++ b/ext/bcmath/tests/bcadd_variation001.phpt @@ -10,7 +10,7 @@ echo bcadd("2.2", "4.3", "2")."\n"; echo bcadd("2.2", "-7.3", "1")."\n"; echo bcadd("-4.27", "7.3"); ?> ---EXPECTF-- +--EXPECT-- 6.50 -5.1 3.03000
\ No newline at end of file diff --git a/ext/bcmath/tests/bccomp_variation001.phpt b/ext/bcmath/tests/bccomp_variation001.phpt index 456f235ef7..f8ca5b9da5 100644 --- a/ext/bcmath/tests/bccomp_variation001.phpt +++ b/ext/bcmath/tests/bccomp_variation001.phpt @@ -10,7 +10,7 @@ echo bccomp("2.2", "2.2", "2")."\n"; echo bccomp("2.32", "2.2", "2")."\n"; echo bccomp("2.29", "2.3", "2"); ?> ---EXPECTF-- +--EXPECT-- 0 1 -1
\ No newline at end of file diff --git a/ext/bcmath/tests/bccomp_variation002.phpt b/ext/bcmath/tests/bccomp_variation002.phpt index 73fbc82179..c451a281ff 100644 --- a/ext/bcmath/tests/bccomp_variation002.phpt +++ b/ext/bcmath/tests/bccomp_variation002.phpt @@ -10,7 +10,7 @@ echo bccomp("-2", "-2")."\n"; echo bccomp("-2", "2", "1")."\n"; echo bccomp("-2.29", "-2.3", "2"); ?> ---EXPECTF-- +--EXPECT-- 0 -1 1
\ No newline at end of file diff --git a/ext/bcmath/tests/bcpow_variation001.phpt b/ext/bcmath/tests/bcpow_variation001.phpt index 58e96b3c66..049374ba40 100644 --- a/ext/bcmath/tests/bcpow_variation001.phpt +++ b/ext/bcmath/tests/bcpow_variation001.phpt @@ -8,5 +8,5 @@ bcmath.scale=0 <?php echo bcpow("2", "-4"); ?> ---EXPECTF-- +--EXPECT-- 0
\ No newline at end of file diff --git a/ext/bcmath/tests/bcscale_variation001.phpt b/ext/bcmath/tests/bcscale_variation001.phpt index 2a7b8db5e5..1e6dd372a5 100644 --- a/ext/bcmath/tests/bcscale_variation001.phpt +++ b/ext/bcmath/tests/bcscale_variation001.phpt @@ -9,5 +9,5 @@ bcmath.scale=0 bcscale(-4); echo bcdiv("20.56", "4"); ?> ---EXPECTF-- +--EXPECT-- 5
\ No newline at end of file diff --git a/ext/bcmath/tests/bcscale_variation002.phpt b/ext/bcmath/tests/bcscale_variation002.phpt index 0db6cff9f2..117756f1d1 100644 --- a/ext/bcmath/tests/bcscale_variation002.phpt +++ b/ext/bcmath/tests/bcscale_variation002.phpt @@ -8,5 +8,5 @@ bcmath.scale=-2 <?php echo bcadd("-4.27", "7.3"); ?> ---EXPECTF-- +--EXPECT-- 3
\ No newline at end of file diff --git a/ext/bcmath/tests/bcsqrt_variation001.phpt b/ext/bcmath/tests/bcsqrt_variation001.phpt index 5e9ec1edb9..67d1efc2ea 100644 --- a/ext/bcmath/tests/bcsqrt_variation001.phpt +++ b/ext/bcmath/tests/bcsqrt_variation001.phpt @@ -8,5 +8,5 @@ bcmath.scale=0 <?php echo bcsqrt("0"); ?> ---EXPECTF-- +--EXPECT-- 0
\ No newline at end of file diff --git a/ext/bcmath/tests/bug60377.phpt b/ext/bcmath/tests/bug60377.phpt index af7f7d44fd..929790d16a 100644 --- a/ext/bcmath/tests/bug60377.phpt +++ b/ext/bcmath/tests/bug60377.phpt @@ -10,5 +10,5 @@ $var67 = bcsqrt(false); $var414 = bcadd(false,null,10); die('ALIVE'); ?> ---EXPECTF-- +--EXPECT-- ALIVE |
