From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id F0F861FC0D for ; Sun, 28 Mar 2021 09:01:25 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 09/12] t/lei_store: ensure LeiSearch responds to ->isrch Date: Sun, 28 Mar 2021 09:01:21 +0000 Message-Id: <20210328090124.3541-10-e@80x24.org> In-Reply-To: <20210328090124.3541-1-e@80x24.org> References: <20210328090124.3541-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(+) 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');