about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-10 07:04:14 +0000
committerEric Wong <e@yhbt.net>2020-06-13 07:55:45 +0000
commit40ee12e172f44a2e8eed8654f5e7835ce69a894f (patch)
treeb42588fe4a1bac21899504c85ed216a7f5b77c8e /t
parent499af0138412496c2a0c84035d5d398fac178624 (diff)
downloadpublic-inbox-40ee12e172f44a2e8eed8654f5e7835ce69a894f.tar.gz
We must keep the contents of {-partial} around when handling
a request to fetch multiple messages.
Diffstat (limited to 't')
-rw-r--r--t/imapd.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/imapd.t b/t/imapd.t
index 59b95a6b..fcbbdc09 100644
--- a/t/imapd.t
+++ b/t/imapd.t
@@ -291,7 +291,7 @@ $pi_config->each_inbox(sub {
                  qr/done_testing;(?:\r\n){1,2}\z/,
                 'BODY[2.1.2] tail matched');
 
-        $ret = $mic->fetch_hash($uidnext, 'BODY[2.HEADER]') or
+        $ret = $mic->fetch_hash("1:$uidnext", 'BODY[2.HEADER]') or
                                                 BAIL_OUT "2.HEADER $@";
         like($ret->{$uidnext}->{'BODY[2.HEADER]'},
                 qr/\ADate: Sat, 18 Apr 2020 22:20:20 /,