about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-14 22:56:37 +0000
committerEric Wong <e@80x24.org>2017-02-14 22:56:37 +0000
commit7c598ac6a81140e1b6d231809de2f4e7e296984b (patch)
tree25cd0c37335b731668d980177ce844ceea5a9558 /t
parenteb0267592377e116c7184d206bff48413ae202fe (diff)
parent364de65f8a6b5729027cb70228312a141430122f (diff)
downloadpublic-inbox-7c598ac6a81140e1b6d231809de2f4e7e296984b.tar.gz
* origin/master:
  www: do not unescape PATH_INFO twice
  t/mime: quiet warnings for old versions of Email::Simple
  handle repeated References and In-Reply-To headers
Diffstat (limited to 't')
-rw-r--r--t/cgi.t2
-rw-r--r--t/mime.t1
2 files changed, 2 insertions, 1 deletions
diff --git a/t/cgi.t b/t/cgi.t
index 092ad8c7..77409660 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -148,7 +148,7 @@ EOF
         $im->add($reply);
         $im->done;
 
-        my $res = cgi_run("/test/slashy%2fasdf\@example.com/raw");
+        my $res = cgi_run("/test/slashy/asdf\@example.com/raw");
         like($res->{body}, qr/Message-Id: <\Q$slashy_mid\E>/,
                 "slashy mid raw hit");
 
diff --git a/t/mime.t b/t/mime.t
index c4bdcf0d..b0e2290e 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