]> Sergey Matveev's repositories - public-inbox.git/blob - t/lei-reindex.t
www_coderepo: an alternative to cgit
[public-inbox.git] / t / lei-reindex.t
1 #!perl -w
2 # Copyright (C) all contributors <meta@public-inbox.org>
3 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
4 use v5.12; use PublicInbox::TestCommon;
5 require_mods(qw(lei));
6 my ($tmpdir, $for_destroy) = tmpdir;
7 test_lei(sub {
8         ok(!lei('reindex'), 'reindex fails w/o store');
9         like $lei_err, qr/nothing indexed/, "`nothing indexed' noted";
10 });
11
12 done_testing;