From: Daniel Convissor Date: Tue, 13 Sep 2011 20:31:02 +0000 (+0000) Subject: Separate test for %a is no longer needed. X-Git-Tag: php-5.4.0beta1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7987fde4c1c93c82d4aed16cf902dd3516f072c2;p=php Separate test for %a is no longer needed. --- diff --git a/ext/date/tests/DateInterval_format.phpt b/ext/date/tests/DateInterval_format.phpt index c144f585ac..b2fdef49c3 100644 --- a/ext/date/tests/DateInterval_format.phpt +++ b/ext/date/tests/DateInterval_format.phpt @@ -1,8 +1,5 @@ --TEST-- -DateInterval::format(), except %a ---DESCRIPTION-- -%a is covered in a separate test. -Don't want an XFAIL here to cause confusion if a real bug comes up. +DateInterval::format() --CREDITS-- Daniel Convissor # TestFest 2010 BKTK @@ -32,6 +29,7 @@ echo $interval->format('h=%h') . "\n"; echo $interval->format('i=%i') . "\n"; echo $interval->format('s=%s') . "\n"; echo $interval->format('r=%r') . "\n"; +echo $interval->format('a=%a') . "\n"; echo "\n"; @@ -63,6 +61,7 @@ h=4 i=5 s=6 r= +a=428 inverted R=- inverted r=- diff --git a/ext/date/tests/DateInterval_format_a.phpt b/ext/date/tests/DateInterval_format_a.phpt deleted file mode 100644 index b6766448e1..0000000000 --- a/ext/date/tests/DateInterval_format_a.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -DateInterval::format(), %a ---CREDITS-- -Daniel Convissor -# TestFest 2010 BKTK ---INI-- -date.timezone=UTC ---SKIPIF-- - ---FILE-- -diff($date2); - -echo $interval->format('a=%a') . "\n"; - -?> ---EXPECT-- -a=428