about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/psgi_search.t1
-rw-r--r--t/search-thr-index.t1
2 files changed, 2 insertions, 0 deletions
diff --git a/t/psgi_search.t b/t/psgi_search.t
index a057a994..da6cc682 100644
--- a/t/psgi_search.t
+++ b/t/psgi_search.t
@@ -7,6 +7,7 @@ use File::Temp qw/tempdir/;
 use Email::MIME;
 use PublicInbox::Config;
 use PublicInbox::WWW;
+use bytes (); # only for bytes::length
 my @mods = qw(PublicInbox::SearchIdx HTTP::Request::Common Plack::Test
                 URI::Escape Plack::Builder);
 foreach my $mod (@mods) {
diff --git a/t/search-thr-index.t b/t/search-thr-index.t
index ab6d1b0f..ed3e4e76 100644
--- a/t/search-thr-index.t
+++ b/t/search-thr-index.t
@@ -2,6 +2,7 @@
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
+use bytes (); # only for bytes::length
 use Test::More;
 use File::Temp qw/tempdir/;
 use PublicInbox::MID qw(mids);