diff options
author | Eric Wong <e@80x24.org> | 2021-07-25 00:43:32 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-07-25 06:14:06 +0000 |
commit | ae74c666692f8056363c7adedd0edc4790439a8e (patch) | |
tree | ba02d1eed85de8fb35ac4402fa60cb0b11b2503e /t/lei_mail_sync.t | |
parent | 3fcdc90c0ad3fa020ba27a0fee343033c5baec27 (diff) | |
download | public-inbox-ae74c666692f8056363c7adedd0edc4790439a8e.tar.gz |
Favor oidbin use internally to reduce internal memory traffic.
Diffstat (limited to 't/lei_mail_sync.t')
-rw-r--r-- | t/lei_mail_sync.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lei_mail_sync.t b/t/lei_mail_sync.t index f0605092..a5e5f5d3 100644 --- a/t/lei_mail_sync.t +++ b/t/lei_mail_sync.t @@ -24,7 +24,7 @@ is_deeply([$ro->folders($imap)], [$imap], 'IMAP folder with full GLOB'); is_deeply([$ro->folders('imaps://bob@[::1]/INBOX')], [$imap], 'IMAP folder with partial GLOB'); -is_deeply($ro->locations_for('deadbeef'), +is_deeply($ro->locations_for("\xde\xad\xbe\xef"), { $imap => [ 1 ] }, 'locations_for w/ imap'); my $maildir = 'maildir:/home/user/md'; @@ -33,7 +33,7 @@ $lms->lms_begin; ok($lms->set_src('deadbeef', $maildir, \$fname), 'set Maildir once'); ok($lms->set_src('deadbeef', $maildir, \$fname) == 0, 'set Maildir again'); $lms->lms_commit; -is_deeply($ro->locations_for('deadbeef'), +is_deeply($ro->locations_for("\xde\xad\xbe\xef"), { $imap => [ 1 ], $maildir => [ $fname ] }, 'locations_for w/ maildir + imap'); |