X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fimapd.t;h=5d610dfdedd733b02625754a9612bb07193ef6c0;hb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;hp=a464ad86058d374953a9c3bc943599fd2fa49bde;hpb=933fce93167eba8645e637c363561575db9f9420;p=public-inbox.git diff --git a/t/imapd.t b/t/imapd.t index a464ad86..5d610dfd 100644 --- a/t/imapd.t +++ b/t/imapd.t @@ -1,5 +1,5 @@ #!perl -w -# Copyright (C) 2020 all contributors +# Copyright (C) 2020-2021 all contributors # License: AGPL-3.0+ # end-to-end IMAP tests, see unit tests in t/imap.t, too use strict; @@ -251,8 +251,8 @@ ok($mic->logout, 'logout works'); my $have_inotify = eval { require Linux::Inotify2; 1 }; -my $pi_config = PublicInbox::Config->new; -$pi_config->each_inbox(sub { +my $pi_cfg = PublicInbox::Config->new; +$pi_cfg->each_inbox(sub { my ($ibx) = @_; my $env = { ORIGINAL_RECIPIENT => $ibx->{-primary_address} }; my $name = $ibx->{name};