about summary refs log tree commit homepage
path: root/xt
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-19 05:09:55 -0700
committerEric Wong <e@80x24.org>2021-02-19 19:25:25 +0000
commitae31a9e82c34727ba15e98f6ec63481cb8429606 (patch)
tree3bcf822f17bf572431b572de9fd326f8b6d7db88 /xt
parentbf367c9ac999e2e64a53ead083f68b171d9f6d35 (diff)
downloadpublic-inbox-ae31a9e82c34727ba15e98f6ec63481cb8429606.tar.gz
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.
Diffstat (limited to 'xt')
-rw-r--r--xt/net_writer-imap.t2
1 files changed, 1 insertions, 1 deletions
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';