]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/mime: quiet warnings for old versions of Email::Simple
authorEric Wong <e@80x24.org>
Sun, 12 Feb 2017 02:41:22 +0000 (02:41 +0000)
committerEric Wong <e@80x24.org>
Sun, 12 Feb 2017 02:41:47 +0000 (02:41 +0000)
This is fixed in the newest versions of Email::Simple,
but not the version in Debian jessie (2.203)

t/mime.t

index c4bdcf0d13b7fea0defa7ec7d6803018a578c13d..b0e2290ea7016ac9e665bae7476ed7bb7eb77a41 100644 (file)
--- a/t/mime.t
+++ b/t/mime.t
@@ -8,6 +8,7 @@ use Test::More;
 use_ok 'PublicInbox::MIME';
 use PublicInbox::MsgIter;
 
+local $SIG{__WARN__} = sub {};
 my $msg = PublicInbox::MIME->new(
 'From:   Richard Hansen <hansenr@google.com>
 To:     git@vger.kernel.org