X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Freply.t;h=fbb3e1b807554bcbbe5eb4ae88da60dd76b1459e;hb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;hp=de31f8800be717ddb2bee17a7db3063a6253676e;hpb=3d41aa23f35501ca92aab8aa42980fa73f7fa74f;p=public-inbox.git diff --git a/t/reply.t b/t/reply.t index de31f880..fbb3e1b8 100644 --- a/t/reply.t +++ b/t/reply.t @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 all contributors +# Copyright (C) 2017-2020 all contributors # License: AGPL-3+ 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();