From 62f28026e624ed30d620063a0fa92cbedb7f6673 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Jan 2020 08:49:31 +0000 Subject: make Plack optional for non-WWW and non-httpd users Some users just want to run -mda, -watch, and/or -nntpd. Let them run just those without forcing them to pull in a bunch of dependencies. --- xt/mem-msgview.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xt/mem-msgview.t') diff --git a/xt/mem-msgview.t b/xt/mem-msgview.t index 1ea0f559..0c3ad710 100644 --- a/xt/mem-msgview.t +++ b/xt/mem-msgview.t @@ -6,9 +6,8 @@ use IO::Handle; # ->flush use Fcntl qw(SEEK_SET); use PublicInbox::TestCommon; use PublicInbox::Tmpfile; -use PublicInbox::WWW; use Test::More; -my @mods = qw(DBD::SQLite BSD::Resource); +my @mods = qw(DBD::SQLite BSD::Resource PublicInbox::WWW); require_mods(@mods); use_ok($_) for @mods; my $lines = $ENV{NR_LINES} // 100000; -- cgit v1.2.3-24-ge0c7