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/calendar | |
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/calendar')
-rw-r--r-- | ext/calendar/tests/jdtojewish64.phpt | 2 | ||||
-rw-r--r-- | ext/calendar/tests/jdtounix_error1.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/calendar/tests/jdtojewish64.phpt b/ext/calendar/tests/jdtojewish64.phpt index 9f01109a71..2443563533 100644 --- a/ext/calendar/tests/jdtojewish64.phpt +++ b/ext/calendar/tests/jdtojewish64.phpt @@ -12,7 +12,7 @@ if (PHP_INT_SIZE == 4) { $a = array(38245310, 324542846, 324542847, 9223372036854743639); foreach ($a as $x) var_dump(jdtojewish($x)); ---EXPECTF-- +--EXPECT-- string(11) "2/22/103759" string(12) "12/13/887605" string(5) "0/0/0" diff --git a/ext/calendar/tests/jdtounix_error1.phpt b/ext/calendar/tests/jdtounix_error1.phpt index 2d54cf22be..a4648451aa 100644 --- a/ext/calendar/tests/jdtounix_error1.phpt +++ b/ext/calendar/tests/jdtounix_error1.phpt @@ -10,5 +10,5 @@ date.timezone=UTC <?php var_dump(jdtounix(2440579)) . PHP_EOL; ?> ---EXPECTF-- +--EXPECT-- bool(false)
\ No newline at end of file |