about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-03 20:18:34 +0000
committerEric Wong <e@80x24.org>2018-04-03 10:08:57 +0000
commit4f0b09919ae9c8823bf6c1fa1452bc27945952a3 (patch)
treedb348774ae2d12148eb7d161dce910481eea31dc /t
parent3f3d9cf7d88a851721f1f8468e1311a4f0c02ff6 (diff)
downloadpublic-inbox-4f0b09919ae9c8823bf6c1fa1452bc27945952a3.tar.gz
I guess nobody uses this command (slrnpull does not), and
the breakage was not noticed until I started writing new
tests for multi-MID handling.

Fixes: 3fc411c772a21d8f ("search: drop pointless range processors for Unix timestamp")
Diffstat (limited to 't')
-rw-r--r--t/nntpd.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index 56b1d604..2815d8d6 100644
--- 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;