about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-05-20 19:55:22 -0400
committerEric Wong <e@yhbt.net>2020-05-24 03:03:32 +0000
commitb77d02aabb32a5a45e69701d2dcdc06ec53ef386 (patch)
treeab2283c9414a919ab90b5ccd5780c14eaa2afbc7
parent89a7cc958f06eac6cf59b21f1f50f4465d01bcc5 (diff)
downloadpublic-inbox-b77d02aabb32a5a45e69701d2dcdc06ec53ef386.tar.gz
t/eml.t: favor ->header over ->header_str
This test may still run against ancient versions of Email::MIME
for comparisons.
-rw-r--r--t/eml.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/eml.t b/t/eml.t
index 1892b001..a2479f6f 100644
--- a/t/eml.t
+++ b/t/eml.t
@@ -80,7 +80,7 @@ for my $cls (@classes) {
         $eml->header_str_set('Subject', "\x{100}");
         like($eml->header_raw('Subject'), qr/utf-8\?B\?/i,
                 'MIME-B encoded UTF-8 Subject');
-        is_deeply([$eml->header_str('Subject')], [ "\x{100}" ],
+        is_deeply([$eml->header('Subject')], [ "\x{100}" ],
                 'got wide character back');
 }