X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fcmp-msgview.t;h=49dcbc9ea3dd0cfacc4e94de69567220bece7587;hb=39d44555e3f04c97e98c7f5d3538bbba6a19656b;hp=66fb467eb1af12b333855099a4cc23e5d76b436f;hpb=fd966061df6a61104935984bed7c28a461a124ff;p=public-inbox.git
diff --git a/xt/cmp-msgview.t b/xt/cmp-msgview.t
index 66fb467e..49dcbc9e 100644
--- a/xt/cmp-msgview.t
+++ b/xt/cmp-msgview.t
@@ -1,5 +1,5 @@
#!perl -w
-# Copyright (C) 2020 all contributors
+# Copyright (C) 2020-2021 all contributors
# License: AGPL-3.0+
use strict;
use Test::More;
@@ -24,7 +24,7 @@ vec(my $vec = '', fileno($fh), 1) = 1;
select($vec, undef, undef, 60) or die "timed out waiting for --batch-check";
my $mime_ctx = {
env => { HTTP_HOST => 'example.com', 'psgi.url_scheme' => 'https' },
- -inbox => $ibx,
+ ibx => $ibx,
www => Plack::Util::inline_object(style => sub {''}),
obuf => \(my $mime_buf = ''),
mhref => '../',
@@ -77,7 +77,6 @@ my $git_cb = sub {
is_deeply($eml_cmp, $mime_cmp, "$inboxdir $oid match");
}
};
-$git->cat_async_begin;
my $t = timeit(1, sub {
while (<$fh>) {
my ($oid, $type) = split / /;