From b212aee7e13c460b73a3632458ae96c39d9eac97 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Sat, 3 Mar 2018 20:18:34 +0000 Subject: nntp: fix NEWNEWS command 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") --- t/nntpd.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') 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, [''], 'NEWNEWS works'); { my $t0 = time; my $date = $n->date; -- cgit v1.2.3-24-ge0c7