summaryrefslogtreecommitdiff
path: root/test/it_mail.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_mail.t')
-rwxr-xr-xtest/it_mail.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/it_mail.t b/test/it_mail.t
index 6a63268..8b9a316 100755
--- a/test/it_mail.t
+++ b/test/it_mail.t
@@ -99,3 +99,6 @@ is(
null,
"Accept valid e-mail addresses"
);
+
+foreach (['neuman@example', '"neuman@example.com" <neuman@example>'] as $email)
+ isnt(it_mail::address_error($email), null, "Reject invalid e-mail address $email");