]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntp.t
update copyrights for 2018
[public-inbox.git] / t / nntp.t
index de07abb0f38ea9a82b8560329dd9d17a703cdb16..03c7f08361a25fd7107db1be733d565cf7469e4c 100644 (file)
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -1,5 +1,5 @@
-# Copyright (C) 2015 all contributors <meta@public-inbox.org>
-# License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
+# Copyright (C) 2015-2018 all contributors <meta@public-inbox.org>
+# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
 use Test::More;
@@ -112,7 +112,7 @@ use_ok 'PublicInbox::Inbox';
        PublicInbox::NNTP::set_nntp_headers($mime->header_obj, $ng, 1, $mid);
        is_deeply([ $mime->header('Message-ID') ], [ "<$mid>" ],
                'Message-ID unchanged');
-       is_deeply([ $mime->header('Archived-At') ], [ "<${u}a%40b/>" ],
+       is_deeply([ $mime->header('Archived-At') ], [ "<${u}a\@b/>" ],
                'Archived-At: set');
        is_deeply([ $mime->header('List-Archive') ], [ "<$u>" ],
                'List-Archive: set');
@@ -128,7 +128,7 @@ use_ok 'PublicInbox::Inbox';
        is_deeply([ $mime->header('Message-ID') ], [ "<$mid>" ],
                'Message-ID unchanged');
        is_deeply([ $mime->header('Archived-At') ],
-               [ "<${u}a%40b/>", '<http://mirror.example.com/m/a%40b/>' ],
+               [ "<${u}a\@b/>", '<http://mirror.example.com/m/a@b/>' ],
                'Archived-At: appended');
        is_deeply([ $mime->header('Xref') ], [ 'example.com test:2' ],
                'Old Xref: clobbered');