]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/over.t
net_reader: fix single NNTP article fetch, test ranges
[public-inbox.git] / t / over.t
index 56c20d01799ce7a244eaa82fc3abb13b524efebe..a92d2f77b0397012121d24a155ff32aa9bb8acf7 100644 (file)
--- a/t/over.t
+++ b/t/over.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2018-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
@@ -91,7 +91,7 @@ $over->eidx_prep;
                        'xref3 works forw two');
 
        @arg = qw(1349 adeadba7cafe example.key);
-       ok($over->remove_xref3(@arg), 'remove first');
+       is($over->remove_xref3(@arg), 1, 'remove first');
        $xref3 = $over->get_xref3(1349);
        is_deeply($xref3, [ 'example.kee:2018:deadbeefcafe' ],
                'confirm removal successful');