Hello Hannes,
could we not simply use regex verification using --EXPECTREGEX-- ?
best regards
marcus
Friday, January 5, 2007, 4:21:45 PM, you wrote:
bjori Fri Jan 5 15:21:45 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/date/tests bug37514.phpt
Hi Marcus
The test is checking if strtotime() assumes correct year, therefor we
need to check if it prints correct year and weekday... Matching it
against simply any weekday and any year kinda defeats the purpose
of the test.
-Hannes
On 1/6/07, Marcus Boerger [EMAIL PROTECTED] wrote:
Hello
Well at least the first on can use the strtotime() second parameter (a
timestamp), so that the relative times are calculated against that given
timestamp.
Nuno
- Original Message -
Hi Marcus
The test is checking if strtotime() assumes correct year, therefor we
need to check if it
bjori Sun Jan 7 07:58:28 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/date/tests bug37514.phpt
Log:
Use relative timestamp
#Thanks Nuno :)
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug37514.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u
bjori Fri Jan 5 15:21:45 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/date/tests bug37514.phpt oo_002.phpt
Log:
Fix tests
#We'll need to update these every year..
tony2001Wed Jan 3 13:48:54 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/date/tests bug37514.phpt
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug37514.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: