cvs: pear /Validate/tests date.php number.php
| From: | Ondrej Jombik | Date: | Thu, 21 Nov 2002 13:26:09 +0000 |
| Subject: | cvs: pear /Validate/tests date.php number.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7510@lists.php.net to get a copy of this message | ||
nepto Thu Nov 21 08:26:09 2002 EDT
Modified files:
/pear/Validate/tests date.php number.php
Log:
Fixed require_once() inclusion stuff in date and number testing scripts.
Added credit card testing file into package distribution.
Index: pear/Validate/tests/date.php
diff -u pear/Validate/tests/date.php:1.2 pear/Validate/tests/date.php:1.3
--- pear/Validate/tests/date.php:1.2 Thu Jun 13 18:40:32 2002
+++ pear/Validate/tests/date.php Thu Nov 21 08:26:09 2002
@@ -1,5 +1,5 @@
<?php
-require_once 'Validate/Validate.php';
+require_once 'Validate.php';
function test($res, $expected) {
static $no = 1;
Index: pear/Validate/tests/number.php
diff -u pear/Validate/tests/number.php:1.2 pear/Validate/tests/number.php:1.3
--- pear/Validate/tests/number.php:1.2 Wed May 29 06:09:49 2002
+++ pear/Validate/tests/number.php Thu Nov 21 08:26:09 2002
@@ -1,5 +1,5 @@
<?php
-require_once '../Validate.php';
+require_once 'Validate.php';
function test($res, $expected) {
static $no = 1;
@@ -36,4 +36,4 @@
test(Validate::number('-8.02', '.', null, -9, -7), true);
// 14
test(Validate::number('-8.02', '.,', null, -9, -8), true);
-?>
\ No newline at end of file
+?>