about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-03 20:18:34 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-03 20:18:34 +0000
commitb212aee7e13c460b73a3632458ae96c39d9eac97 (patch)
tree13d89c2fd714cfeac4f5989233bf37d78ca7e5ba /t/nntpd.t
parentfa3283debd81490ac1d5e0895fc2d8968e1f110b (diff)
downloadpublic-inbox-b212aee7e13c460b73a3632458ae96c39d9eac97.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/nntpd.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 ea0d2939..de781d74 100644
--- 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;