From bb123979c91d68d88e39d5b73de39baa6c665ba7 Mon Sep 17 00:00:00 2001 From: Christian A. Weber Date: Tue, 15 Mar 2022 11:21:20 +0100 Subject: simple unit test for it_mail::address_error() --- test/it_mail.t | 6 ++++++ 1 file changed, 6 insertions(+) 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, Alfred E." , aneuman'), + null, + "Accept valid e-mail addresses" +); -- cgit v1.2.3