unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] t/mime.t: quiet warning during test, at least
@ 2017-02-12  2:08 Eric Wong
  2017-02-12  2:42 ` [PATCH v2] t/mime: quiet warnings for old versions of Email::Simple Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2017-02-12  2:08 UTC (permalink / raw)
  To: meta

This is fixed in the newest versions of Email::Simple,
but not the version in Debian jessie (2.203)
---
 t/mime.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/mime.t b/t/mime.t
index c4bdcf0..3e29dbc 100644
--- a/t/mime.t
+++ b/t/mime.t
@@ -20,6 +20,7 @@ Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=s
         boundary="94eb2c0bc864b76ba30545b2bca9"
 
 --94eb2c0bc864b76ba30545b2bca9
+Content-Type: text/plain
 
 Richard Hansen (2):
   diff: document behavior of relative diff.orderFile
-- 
EW


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH v2] t/mime: quiet warnings for old versions of Email::Simple
  2017-02-12  2:08 [PATCH] t/mime.t: quiet warning during test, at least Eric Wong
@ 2017-02-12  2:42 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2017-02-12  2:42 UTC (permalink / raw)
  To: meta

This is fixed in the newest versions of Email::Simple,
but not the version in Debian jessie (2.203)
---
 v1 actually broke the intent of the test :x

 t/mime.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/mime.t b/t/mime.t
index c4bdcf0..b0e2290 100644
--- 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
-- 
EW


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-12  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-12  2:08 [PATCH] t/mime.t: quiet warning during test, at least Eric Wong
2017-02-12  2:42 ` [PATCH v2] t/mime: quiet warnings for old versions of Email::Simple Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).