X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fcontent_id.t;h=9df81aa829379e92f2027fdc1724b526789082c4;hp=0325164df77de292075b2ec8c885e5642cf8a1b8;hb=0283273a14e1871955f6a9132f4f3f7884ec8a3f;hpb=fd966061df6a61104935984bed7c28a461a124ff diff --git a/t/content_id.t b/t/content_id.t index 0325164d..9df81aa8 100644 --- a/t/content_id.t +++ b/t/content_id.t @@ -4,9 +4,9 @@ use strict; use warnings; use Test::More; use PublicInbox::ContentId qw(content_id); -use PublicInbox::MIME; +use PublicInbox::Eml; -my $mime = PublicInbox::MIME->new(<<'EOF'); +my $mime = PublicInbox::Eml->new(<<'EOF'); From: a@example.com To: b@example.com Subject: this is a subject @@ -17,7 +17,7 @@ hello world EOF my $orig = content_id($mime); -my $reload = content_id(PublicInbox::MIME->new($mime->as_string)); +my $reload = content_id(PublicInbox::Eml->new($mime->as_string)); is($orig, $reload, 'content_id matches after serialization'); foreach my $h (qw(From To Cc)) {