about summary refs log tree commit homepage
path: root/xt/net_writer-imap.t
diff options
context:
space:
mode:
Diffstat (limited to 'xt/net_writer-imap.t')
-rw-r--r--xt/net_writer-imap.t4
1 files changed, 4 insertions, 0 deletions
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