cvs: pear /Validate/tests date.php
| From: | Pierre-Alain Joye | Date: | Thu, 13 Jun 2002 22:40:32 +0000 |
| Subject: | cvs: pear /Validate/tests date.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4607@lists.php.net to get a copy of this message | ||
pajoye Thu Jun 13 18:40:32 2002 EDT
Modified files:
/pear/Validate/tests date.php
Log:
Add a test (13/12/0001) help to discover a wrong params order :)
Index: pear/Validate/tests/date.php
diff -u pear/Validate/tests/date.php:1.1 pear/Validate/tests/date.php:1.2
--- pear/Validate/tests/date.php:1.1 Tue Jun 11 07:00:17 2002
+++ pear/Validate/tests/date.php Thu Jun 13 18:40:32 2002
@@ -50,4 +50,6 @@
test(Validate::date('25:00','%G:%i:%s'), false);
// 21
test(Validate::date('121902','%m%Y'), true);
+// 22
+test(Validate::date('13120001','%d%m%Y'), true);
?>