]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/reply.t
treewide: run update-copyrights from gnulib for 2019
[public-inbox.git] / t / reply.t
index 719b4e47565f06d3365ae43562e3c4ffcf657e4a..fbb3e1b807554bcbbe5eb4ae88da60dd76b1459e 100644 (file)
--- a/t/reply.t
+++ b/t/reply.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2017 all contributors <meta@public-inbox.org>
+# Copyright (C) 2017-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
@@ -76,4 +76,9 @@ $exp = [
 is_deeply($arg, $exp, 'address obfuscation works');
 is($link, '', 'no mailto: link given');
 
+$ibx->{replyto} = ':none=dead list';
+$ibx->{obfuscate} = 1;
+($arg, $link) = PublicInbox::Reply::mailto_arg_link($ibx, $hdr);
+is($$arg, 'dead list', ':none= works');
+
 done_testing();