X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flei_store.t;h=40ad7800981318a69ef3fc351b4ea713c6039cca;hb=refs%2Fheads%2Fmaster;hp=c31e27a2d481b9659c198075aedd592638414544;hpb=fe1b11bf5a752743167018f77e2826304ba0aa0e;p=public-inbox.git diff --git a/t/lei_store.t b/t/lei_store.t index c31e27a2..5a5e5de0 100644 --- a/t/lei_store.t +++ b/t/lei_store.t @@ -1,5 +1,5 @@ #!perl -w -# Copyright (C) 2020-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ use strict; use v5.10.1; @@ -138,7 +138,8 @@ Subject: timezone-dependent test WHAT IS TIME ANYMORE? EOM - ok($sto->add_eml($eml), 'recently received message'); + my $smsg = $sto->add_eml($eml); + ok($smsg && $smsg->{blob}, 'recently received message'); $sto->done; local $ENV{TZ} = 'GMT+5'; my $lse = $sto->search; @@ -148,4 +149,7 @@ EOM is($mset->size, 1, 'rt:1.hour.ago.. works w/ local time'); } +is_deeply([glob("$store_dir/local/*.git/info/refs")], [], + 'no info/refs in private lei/store'); + done_testing;