use strict; use warnings; use Test::More tests => 2; use Email::MIME::Kit; my $kit = Email::MIME::Kit->new({ source => 't/kits/test.mkit', }); my $email = $kit->assemble({ html => '
You got:
', you => 'Victor Fries', }); my ($text, $html) = $email->subparts; like( $text->body, qr{\n \* 10 dunks\n}, "text part includes html converted to text", ); like( $html->body, qr{\Q
  • 10 dunks
  • }, "html part still includes html arg", );