From: Eric Wong Date: Sun, 28 Mar 2021 09:01:21 +0000 (+0000) Subject: t/lei_store: ensure LeiSearch responds to ->isrch X-Git-Tag: v1.7.0~880 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8e23948182a82b5037bc9a5ffb7e42a862119644;p=public-inbox.git t/lei_store: ensure LeiSearch responds to ->isrch This is needed for SolverGit, at least, and maybe other bits we share with PSGI in lei. --- diff --git a/t/lei_store.t b/t/lei_store.t index 024ff527..db94f6da 100644 --- a/t/lei_store.t +++ b/t/lei_store.t @@ -23,6 +23,7 @@ is($sto->add_eml($eml), undef, 'idempotent'); $sto->done; { my $es = $sto->search; + ok($es->can('isrch'), ref($es). ' can ->isrch (for SolverGit)'); my $msgs = $es->over->query_xover(0, 1000); is(scalar(@$msgs), 1, 'one message'); is($msgs->[0]->{blob}, $smsg->{blob}, 'blob matches');