about summary refs log tree commit homepage
path: root/t/mbox_reader.t
diff options
context:
space:
mode:
Diffstat (limited to 't/mbox_reader.t')
-rw-r--r--t/mbox_reader.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/mbox_reader.t b/t/mbox_reader.t
index e5f57d7b..87e8f397 100644
--- a/t/mbox_reader.t
+++ b/t/mbox_reader.t
@@ -138,7 +138,11 @@ EOM
                 PublicInbox::MboxReader->$m($fh, sub {
                         push @x, $_[0]->as_string
                 });
-                is_deeply(\@x, [], "messages in invalid $m");
+                if ($m =~ /\Amboxcl/) {
+                        is_deeply(\@x, [], "messages in invalid $m");
+                } else {
+                        is_deeply(\@x, [ "\n$html" ], "body-only $m");
+                }
                 is_deeply([grep(!/^W: leftover/, @w)], [],
                         "no extra warnings besides leftover ($m)");
         }