From d987adefc85095f057c3d6d3eb2fa4c0d487d32b Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 21 Apr 2020 01:03:53 +0200 Subject: use new array syntax --- test/it_mail.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/it_mail.t') diff --git a/test/it_mail.t b/test/it_mail.t index 9c882b8..e5e8ab8 100755 --- a/test/it_mail.t +++ b/test/it_mail.t @@ -56,13 +56,13 @@ is( "Don't remove quoting characters from realname when it contains a quotable character" ); -$mail = new it_mail(array( +$mail = new it_mail([ 'From' => 'Someone Ïmportant <ïmportant@search.ch>', 'To' => 'éxample@example.com, example@example.com, Sömeone Ëlse , "Alfred E. Neuman" , "Schmitt, Sören" ', 'Cc' => 'éxample@example.com, example@example.com, Sömeone Ëlse , "Alfred E. Neuman" , "Schmitt, Sören" ', 'Bcc' => 'éxample@example.com, example@example.com, Sömeone Ëlse , "Alfred E. Neuman" , "Schmitt, Sören" ', 'Subject' => "§önÐë®z€ı¢ħèṇ" -)); +]); is( $mail->to[0], -- cgit v1.2.3