]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
nntp: fix STAT command
[public-inbox.git] / t / nntpd.t
index aaf6661deaab8cbd88af8fe454adf4abc690bfa0..0b4a2636ac9d28ca925c00ab9b018f9f12eca687 100644 (file)
--- 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);