diff options
author | Eric Wong <e@80x24.org> | 2020-11-07 10:56:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-08 10:18:13 +0000 |
commit | 6b0fed3b03263ba252d80bac4fb944d8ac826cbc (patch) | |
tree | 6ae63fc326d418d38dc8b37d2077e07be7180e4f /t/extsearch.t | |
parent | 5a1ee8a928382bc3fac9b8faff67b0c24396ff9b (diff) | |
download | public-inbox-6b0fed3b03263ba252d80bac4fb944d8ac826cbc.tar.gz |
Upon "eindex" rhymes with "reindex", which could be confusing; so name the command and config prefix to use "extindex" which is hopefully less confusing.
Diffstat (limited to 't/extsearch.t')
-rw-r--r-- | t/extsearch.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/extsearch.t b/t/extsearch.t index 8d2c1507..8792fd9e 100644 --- a/t/extsearch.t +++ b/t/extsearch.t @@ -33,7 +33,7 @@ seek($fh, 0, SEEK_SET) or BAIL_OUT $!; run_script(['-mda', '--no-precheck'], $env, { 0 => $fh }) or BAIL_OUT '-mda'; run_script(['-index', "$home/v1test"]) or BAIL_OUT "index $?"; -ok(run_script([qw(-eindex --all), "$home/eindex"]), 'eindex init'); +ok(run_script([qw(-extindex --all), "$home/eindex"]), 'extindex init'); my $es = PublicInbox::ExtSearch->new("$home/eindex"); { @@ -53,8 +53,8 @@ my $es = PublicInbox::ExtSearch->new("$home/eindex"); my $env = { MAIL_EDITOR => "$^X -i -p -e 's/test message/BEST MSG/'" }; my $cmd = [ qw(-edit -Ft/utf8.eml), "$home/v2test" ]; ok(run_script($cmd, $env, $opt), '-edit'); - ok(run_script([qw(-eindex --all), "$home/eindex"], undef, $opt), - 'eindex again'); + ok(run_script([qw(-extindex --all), "$home/eindex"], undef, $opt), + 'extindex again'); like($err, qr/discontiguous range/, 'warned about discontiguous range'); my $msg1 = $es->over->get_art(1) or BAIL_OUT 'msg1 missing'; my $msg2 = $es->over->get_art(2) or BAIL_OUT 'msg2 missing'; |