]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
nntp: fix NEWNEWS command
[public-inbox.git] / t / nntpd.t
index ea0d293947b9d42114d94144a98927ae1ff50c42..de781d74b3b85bc88ab193865200dc78ba3982a9 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -228,6 +228,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;