projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe41e5
)
t/multi-mid: skip properly w/o DBD::SQLite
author
Eric Wong <e@yhbt.net>
Sat, 8 Feb 2020 18:30:40 +0000 (18:30 +0000)
committer
Eric Wong <e@yhbt.net>
Sat, 8 Feb 2020 19:55:47 +0000 (19:55 +0000)
SearchIdx always requires DBD::SQLite, so only require it
after we've passed `require_mods(qw(DBD::SQLite))'.
t/multi-mid.t
patch
|
blob
|
history
diff --git
a/t/multi-mid.t
b/t/multi-mid.t
index 94c0e0a288c8b4908e8aff8fc3f1675b8fe1263b..df865efb26877a51be4aff3871882ad0c23da750 100644
(file)
--- a/
t/multi-mid.t
+++ b/
t/multi-mid.t
@@
-4,9
+4,9
@@
use Test::More;
use PublicInbox::MIME;
use PublicInbox::TestCommon;
use PublicInbox::InboxWritable;
-use PublicInbox::SearchIdx;
require_git(2.6);
require_mods(qw(DBD::SQLite));
+require PublicInbox::SearchIdx;
my $addr = 'test@example.com';
my $bad = PublicInbox::MIME->new(<<EOF);