about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-28 09:01:21 +0000
committerEric Wong <e@80x24.org>2021-03-28 23:01:37 +0000
commit8e23948182a82b5037bc9a5ffb7e42a862119644 (patch)
tree4083bab23d7d5b385fae12026b66900b39607256 /t
parent1001b281a99274c2669f26ab641961a16cb16dec (diff)
downloadpublic-inbox-8e23948182a82b5037bc9a5ffb7e42a862119644.tar.gz
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.
Diffstat (limited to 't')
-rw-r--r--t/lei_store.t1
1 files changed, 1 insertions, 0 deletions
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');