about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/httpd.t2
-rw-r--r--t/nntpd.t4
2 files changed, 4 insertions, 2 deletions
diff --git a/t/httpd.t b/t/httpd.t
index c2e73608..d0ce3943 100644
--- a/t/httpd.t
+++ b/t/httpd.t
@@ -57,7 +57,7 @@ Date: Thu, 01 Jan 1970 06:06:06 +0000
 
 nntp
 EOF
-                $mime->header_set('List-Id', "<$addr>");
+
                 my $git = PublicInbox::Git->new($maindir);
                 my $im = PublicInbox::Import->new($git, 'test', $addr);
                 $im->add($mime);
diff --git a/t/nntpd.t b/t/nntpd.t
index ad50a64f..2ccc90fb 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -62,7 +62,9 @@ Content-Transfer-Encoding: 8bit
 
 This is a test message for El\xc3\xa9anor
 EOF
-                $mime->header_set('List-Id', "<$addr>");
+                my $list_id = $addr;
+                $list_id =~ s/@/./;
+                $mime->header_set('List-Id', "<$list_id>");
                 $len = length($mime->as_string);
                 my $git = PublicInbox::Git->new($maindir);
                 my $im = PublicInbox::Import->new($git, 'test', $addr);