about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/eml.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/eml.t b/t/eml.t
index 2d8993a5..2e6a441f 100644
--- a/t/eml.t
+++ b/t/eml.t
@@ -417,13 +417,14 @@ Content-Type: text/x-patch; name="=?utf-8?q?vtpm-fakefile.patch?="
 Content-Disposition: attachment; filename="=?utf-8?q?vtpm-makefile.patch?="
 
 EOF
-        is($cls->new($s)->filename, 'vtpm-makefile.patch', 'filename decoded');
+        is($cls->new($s)->filename, 'vtpm-makefile.patch',
+                "filename decoded ($cls)") if $cls ne 'PublicInbox::MIME';
         $s =~ s/^Content-Disposition:.*$//sm;
         is($cls->new($s)->filename, 'vtpm-fakefile.patch',
                 "filename fallback ($cls)") if $cls ne 'PublicInbox::MIME';
         is($cls->new($s)->content_type,
                 'text/x-patch; name="vtpm-fakefile.patch"',
-                'matches Email::MIME output, "correct" or not');
+                qq[matches Email::MIME output, "correct" or not ($cls)]);
 
         $s = <<'EOF';
 Content-Type: multipart/foo; boundary=b