diff options
author | Marius Halden <marius.h@lden.org> | 2017-05-28 21:31:42 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2017-05-28 21:31:42 +0200 |
commit | 987124b09a32248414faf4d0d6615d43b29ac6f6 (patch) | |
tree | a549db8af723c981d3b346e855f25d6fd5ff8aa7 /t/utils | |
parent | dbf56159e44c1560a413022451bf1a1c4cb22a52 (diff) | |
parent | a085b63ce09f87e83b75cda9b9cd08aadfe75d61 (diff) |
Merge tag 'v2.0.4' into fiksgatami-dev
Diffstat (limited to 't/utils')
-rw-r--r-- | t/utils/email.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/utils/email.t b/t/utils/email.t index 23814c1d7..9e556a865 100644 --- a/t/utils/email.t +++ b/t/utils/email.t @@ -31,4 +31,7 @@ is Utils::Email::test_dmarc('BAD'), undef; is Utils::Email::test_dmarc('test@yahoo.com'), 1; is Utils::Email::test_dmarc('test@example.net'), undef; +is Utils::Email::same_domain(['test@example.net', ''], [ ['to@example.net', ''], ['to@example.com', ''] ]), 1; +is Utils::Email::same_domain(['test@example.org', ''], [ ['to@example.net', ''] ]), ''; + done_testing(); |