Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhasbini committed Nov 14, 2016
1 parent a17becb commit 2198b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/EmailValidator.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ddg_goodie_test(
=> build_test(qr/Please check the address/, ignore(), 1),
'validate foo@example.com' => build_test($valid_re, 'foo@example.com'),
'validate foo@!!!.com' => build_test(qr/Please check the fully qualified domain name/, 'foo@!!!.com'),
'validate foo@fo;o.com' => build_test(qr/E-mail address foo\@fo;o\.com is invalid/, 'foo@fo;o.com'),
'validate foo@example.lmnop' => build_test(qr/Please check the top-level domain/, 'foo@example.lmnop'),
'validate foo' => undef,
);
Expand Down

0 comments on commit 2198b9e

Please sign in to comment.