diff options
author | Eric Wong <e@80x24.org> | 2021-03-20 19:04:04 +0900 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-21 09:45:47 +0000 |
commit | b6829bbfd86f5d22a8ffb80fd7bfe59299fe6b55 (patch) | |
tree | 97a6e0a9bb519c24fdbef52776312861990af9b5 /t/eml.t | |
parent | 7d2e572aca7297ea2015d2b6e7c71b672521ec82 (diff) | |
download | public-inbox-b6829bbfd86f5d22a8ffb80fd7bfe59299fe6b55.tar.gz |
"lei q" now preserves changes per-message keywords across invocations when it's --output (Maildir or mbox) is reused (with or without --augment). In the future, these changes will be monitored via inotify, EVFILT_VNODE or IMAP IDLE, too. Unfortunately, this currently prevents "lei import" from ever importing a message that's in an external. That will be fixed in a future change.
Diffstat (limited to 't/eml.t')
-rw-r--r-- | t/eml.t | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,8 @@ sub mime_load ($) { is($str, "hi\n", '->new modified body like Email::Simple'); is($eml->body, "hi\n", '->body works'); is($eml->as_string, "a: b\n\nhi\n", '->as_string'); + my $empty = PublicInbox::Eml->new("\n\n"); + is($empty->as_string, "\n\n", 'empty message'); } for my $cls (@classes) { |