diff options
Diffstat (limited to 't')
-rw-r--r-- | t/view.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,7 +72,7 @@ EOF ); my $html = PublicInbox::View::msg_html(undef, $mime); - like($html, qr/hi\n-+ part #2 -+\nbye\n/, "multipart split"); + like($html, qr/hi\n.*-- Attachment #2.*\nbye\n/s, "multipart split"); } # multipart email with attached patch @@ -101,7 +101,7 @@ EOF ); my $html = PublicInbox::View::msg_html(undef, $mime); - like($html, qr!see attached patch\n-+ foo\.patch -+\n--- a/file\n!, + like($html, qr!.*Attachment #2: foo\.patch --!, "parts split with filename"); } |