X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmiscsearch.t;h=0424328d5f9031a874459b84b3116020346025b4;hb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;hp=45a19da9a44edb4dd580dbb4d4953df9132f54cd;hpb=58e764d179131b0fba8590915e2528248be26329;p=public-inbox.git diff --git a/t/miscsearch.t b/t/miscsearch.t index 45a19da9..0424328d 100644 --- a/t/miscsearch.t +++ b/t/miscsearch.t @@ -1,5 +1,5 @@ #!perl -w -# Copyright (C) 2020 all contributors +# Copyright (C) 2020-2021 all contributors # License: AGPL-3.0+ use strict; use Test::More; @@ -50,5 +50,8 @@ is(scalar($mset->items), 1, 'match partial address'); $mset = $ms->mset('hope'); is(scalar($mset->items), 1, 'match name'); +my $mi = ($mset->items)[0]; +my $doc = $mi->get_document; +is($doc->get_data, '{}', 'stored empty data'); done_testing;