summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-10-11 19:32:45 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-10-11 19:32:45 +0200
commite8f8d645be4a431ee7114859b9aedae042f52ead (patch)
tree9c503985f76b2d75a779854502e1cd6387ee0ec8 /_test
parentabe88ecbb1016580584d00091f6de364d509933f (diff)
downloadrpg-e8f8d645be4a431ee7114859b9aedae042f52ead.tar.gz
rpg-e8f8d645be4a431ee7114859b9aedae042f52ead.tar.bz2
use EmailAddressValidator class for email validation FS#1503
darcs-hash:20081011173245-7ad00-578e03ca701fc4443ba91329be6ac1ca9344c7a7.gz
Diffstat (limited to '_test')
-rw-r--r--_test/cases/inc/mail_isvalid.test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/_test/cases/inc/mail_isvalid.test.php b/_test/cases/inc/mail_isvalid.test.php
index 120764e08..374204679 100644
--- a/_test/cases/inc/mail_isvalid.test.php
+++ b/_test/cases/inc/mail_isvalid.test.php
@@ -15,7 +15,7 @@ class mail_isvalid extends UnitTestCase {
$tests[] = array('username+tag@domain.com',true); // FS#1447
$tests[] = array("rfc2822+allthesechars_#*!'`/-={}are.legal@somewhere.com.au",true);
$tests[] = array('_foo@test.com',true); // FS#1049
- $tests[] = array('bugs@php.net1',false);
+ $tests[] = array('bugs@php.net1',true); // new ICAN rulez seem to allow this
$tests[] = array('.bugs@php.net1',false);
$tests[] = array('bu..gs@php.net',false);
$tests[] = array('bugs@php..net',false);