about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-01 20:16:58 +0000
committerEric Wong <e@yhbt.net>2020-08-02 08:25:16 +0000
commit3e5b497d0f7d415140da2caabf267d62711b83b4 (patch)
tree2015f19b412865d79e2cd7b07dbd2fe246e6594e /t/nntpd.t
parent0faddbbfecaa784c584d3a625628c288fe9316c7 (diff)
downloadpublic-inbox-3e5b497d0f7d415140da2caabf267d62711b83b4.tar.gz
The return value of art_lookup changed but this command wasn't
updated since it wasn't tested.

Fixes: 0e6ceff37fc38f28 ("nntp: support slow blob retrievals")
Diffstat (limited to 't/nntpd.t')
-rw-r--r--t/nntpd.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index aaf6661d..0b4a2636 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -206,6 +206,7 @@ EOF
 
         is_deeply($n->head(1), $n->head('<nntp@example.com>'), 'HEAD OK');
         is_deeply($n->body(1), $n->body('<nntp@example.com>'), 'BODY OK');
+        is_deeply($n->nntpstat(1), '<nntp@example.com>', 'STAT');
         is($n->body(1)->[0], "This is a test message for El\xc3\xa9anor\n",
                 'body really matches');
         my $art = $n->article(1);