diff options
author | Christian A. Weber | 2022-03-15 11:21:20 +0100 |
---|---|---|
committer | Christian A. Weber | 2022-03-15 11:21:20 +0100 |
commit | bb123979c91d68d88e39d5b73de39baa6c665ba7 (patch) | |
tree | bf56ca984fc3392f2846340b298577bd213b35d4 | |
parent | ffa02ae4d0b2b2f6e8239f48e309ee992fba1e3f (diff) | |
download | itools-bb123979c91d68d88e39d5b73de39baa6c665ba7.tar.gz itools-bb123979c91d68d88e39d5b73de39baa6c665ba7.tar.bz2 itools-bb123979c91d68d88e39d5b73de39baa6c665ba7.zip |
simple unit test for it_mail::address_error()
-rwxr-xr-x | test/it_mail.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/it_mail.t b/test/it_mail.t index e5e8ab8..6a63268 100755 --- a/test/it_mail.t +++ b/test/it_mail.t @@ -93,3 +93,9 @@ is( "§önÐë®z€ı¢ħèṇ", "Don't escape Subject: field on instanziation" ); + +is( + it_mail::address_error('neuman@example.com, <neuman@example.com>, "Neuman, Alfred E." <neuman@example.com>, aneuman'), + null, + "Accept valid e-mail addresses" +); |