X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flei_store.t;fp=t%2Flei_store.t;h=73b5c74db0e3468cffe29dadd0054136a950c641;hb=4d594e98063aaad1ce9a90709af7edc5c44a0163;hp=db94f6daa0cbfe5b3a1c71275cd774b6b7089172;hpb=2016078cefa7e4438217e54bb0421a5d5f0b151f;p=public-inbox.git diff --git a/t/lei_store.t b/t/lei_store.t index db94f6da..73b5c74d 100644 --- a/t/lei_store.t +++ b/t/lei_store.t @@ -31,7 +31,8 @@ $sto->done; is($mset->size, 1, 'search works'); is_deeply($es->mset_to_artnums($mset), [ $msgs->[0]->{num} ], 'mset_to_artnums'); - my @kw = $es->msg_keywords(($mset->items)[0]); + my $mi = ($mset->items)[0]; + my @kw = PublicInbox::Search::xap_terms('K', $mi->get_document); is_deeply(\@kw, [], 'no flags'); }