X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fnet_writer-imap.t;h=da43592621f2e08ecfcfa574e2c016e7df67617c;hb=9d1d7c2b505454fba331666a951e0f7997500b3c;hp=64f822cfc7996ab49d20798e196fd38d2079ce42;hpb=f0731b9b653640afd8078aed994814b3049f230a;p=public-inbox.git diff --git a/xt/net_writer-imap.t b/xt/net_writer-imap.t index 64f822cf..da435926 100644 --- a/xt/net_writer-imap.t +++ b/xt/net_writer-imap.t @@ -138,6 +138,10 @@ test_lei(sub { $nwr->imap_each($folder_uri, $imap_slurp_all, my $empty = []); is(scalar(@$empty), 0, 'no results w/o augment'); + lei_ok qw(convert -F eml t/msg_iter-order.eml -o), $$folder_uri; + $nwr->imap_each($folder_uri, $imap_slurp_all, $empty = []); + is_deeply($empty, [ [ [], eml_load('t/msg_iter-order.eml') ] ], + 'converted to IMAP destination'); }); undef $cleanup; # remove temporary folder