From ae31a9e82c34727ba15e98f6ec63481cb8429606 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 19 Feb 2021 05:09:55 -0700 Subject: URIimap: overload "" to ->as_string This interpolation is used by the upstream URI package and we rely on it elsewhere for HTTP(S) URIs, so save ourselves some surprises down the line. --- xt/net_writer-imap.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xt') diff --git a/xt/net_writer-imap.t b/xt/net_writer-imap.t index ea812f16..dfd765be 100644 --- a/xt/net_writer-imap.t +++ b/xt/net_writer-imap.t @@ -29,7 +29,7 @@ $nwr->{pi_cfg} = bless {}, 'PublicInbox::Config'; my $mics = $nwr->imap_common_init; my $mic = (values %$mics)[0]; my $cleanup = PublicInbox::OnDestroy->new(sub { - $mic->delete($folder) or fail "delete $folder <$$folder_uri>: $@"; + $mic->delete($folder) or fail "delete $folder <$folder_uri>: $@"; }); my $imap_append = $nwr->can('imap_append'); my $smsg = bless { kw => [ 'seen' ] }, 'PublicInbox::Smsg'; -- cgit v1.2.3-24-ge0c7