diff options
author | Eric Wong <e@80x24.org> | 2019-12-18 03:36:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-19 04:07:45 +0000 |
commit | 3c313f9034aac96182e2efdc2f92c40803626f32 (patch) | |
tree | 5e105f4b698da5695c22edea1a6e2033e0ce78e4 /t/www_listing.t | |
parent | 684d26cecc0891261783be179909b0e434692b25 (diff) | |
download | public-inbox-3c313f9034aac96182e2efdc2f92c40803626f32.tar.gz |
We want to be able to use run_script with *.t files, so t/common.perl putting subs into the top-level "main" namespace won't work. Instead, make it a module which uses Exporter like other libraries.
Diffstat (limited to 't/www_listing.t')
-rw-r--r-- | t/www_listing.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/www_listing.t b/t/www_listing.t index e1263360..75698ee5 100644 --- a/t/www_listing.t +++ b/t/www_listing.t @@ -5,7 +5,7 @@ use strict; use warnings; use Test::More; use PublicInbox::Spawn qw(which); -require './t/common.perl'; +use PublicInbox::TestCommon; my @mods = qw(URI::Escape Plack::Builder Digest::SHA IO::Compress::Gzip IO::Uncompress::Gunzip HTTP::Tiny); foreach my $mod (@mods) { |