Skip to content
Snippets Groups Projects
Commit 762fb3a6 authored by Yehuda Katz's avatar Yehuda Katz
Browse files

Plus-addressing test

parent e093f9c0
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ class TestValidation extends Test {
$this->assert(Validator::is_email('jared.12@domain.tld'));
$this->assert(Validator::is_email('jared_12@domain.tld'));
$this->assert(Validator::is_email('jared-12@domain.tld'));
$this->assert(Validator::is_email('jared+ost@domain.tld'));
// Illegal or unsupported
$this->assert(!Validator::is_email('jared r@domain.tld'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment