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/solver.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xt/solver.t') diff --git a/xt/solver.t b/xt/solver.t index 4ff57fe7..5307e120 100644 --- a/xt/solver.t +++ b/xt/solver.t @@ -5,10 +5,10 @@ use strict; use Test::More; use PublicInbox::TestCommon; use PublicInbox::Config; # this relies on PI_CONFIG // ~/.public-inbox/config -use PublicInbox::WWW; my @psgi = qw(HTTP::Request::Common Plack::Test URI::Escape Plack::Builder); require_mods(qw(DBD::SQLite Search::Xapian), @psgi); use_ok($_) for @psgi; +use_ok 'PublicInbox::WWW'; my $cfg = PublicInbox::Config->new; my $www = PublicInbox::WWW->new($cfg); my $app = sub { -- cgit v1.2.3-24-ge0c7