]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
nntp: fix NEWNEWS command
[public-inbox.git] / t / nntpd.t
index 56b1d604518558e67284580f08076eef6820c4d9..2815d8d641694073b2a62ee852735303c77c15ea 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -204,6 +204,8 @@ EOF
        is_deeply($n->xhdr(qw(list-id 1-)), {},
                 'XHDR on invalid header returns empty');
 
+       my $mids = $n->newnews(0, '*');
+       is_deeply($mids, ['<nntp@example.com>'], 'NEWNEWS works');
        {
                my $t0 = time;
                my $date = $n->date;