Index: trunk/phase3/tests/phpunit/includes/UserIsValidEmailAddrTest.php |
— | — | @@ -31,10 +31,10 @@ |
32 | 32 | $this->valid( 'user+@example.com' ); |
33 | 33 | } |
34 | 34 | function testEmailWithWhiteSpacesBeforeOrAfterAreInvalids() { |
35 | | - $this->invalid( " user@host" ); |
36 | | - $this->invalid( "user@host " ); |
37 | | - $this->invalid( "\tuser@host" ); |
38 | | - $this->invalid( "user@host\t" ); |
| 35 | + $this->invalid( " user@host.com" ); |
| 36 | + $this->invalid( "user@host.com " ); |
| 37 | + $this->invalid( "\tuser@host.com" ); |
| 38 | + $this->invalid( "user@host.com\t" ); |
39 | 39 | } |
40 | 40 | function testEmailWithWhiteSpacesAreInvalids() { |
41 | 41 | $this->invalid( "User user@host" ); |