From 8e23948182a82b5037bc9a5ffb7e42a862119644 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 28 Mar 2021 09:01:21 +0000 Subject: 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. --- t/lei_store.t | 1 + 1 file changed, 1 insertion(+) (limited to 't') 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'); -- cgit v1.2.3-24-ge0c7