about summary refs log tree commit
path: root/t
diff options
authorEric Wong <e@yhbt.net>2020-01-26 10:29:23 +0000
committerEric Wong <e@yhbt.net>2020-01-28 01:49:51 +0000
commitdd694f1c3797ce0ca7a4748a97f8af536ef21c2e (patch)
treeb9a41713f04c6012c7065c55bbf05b38f19fafba /t
parentfb0afdaa35d778c237c40b10216c38e360b248b3 (diff)
We don't need IO::File for this test, but IO::Handle
is needed for ->autoflush with Perl <5.14.

Note: I haven't tested highlight.pm under 5.10.1 since
it's a weird dependency which isn't easy to install w/o
distro support.
Diffstat (limited to 't')
1 files changed, 1 insertions, 0 deletions
diff --git a/t/hl_mod.t b/t/hl_mod.t
index 4942404c..351dfe22 100644
--- a/t/hl_mod.t
+++ b/t/hl_mod.t
@@ -5,6 +5,7 @@ use strict;
 use warnings;
 use Test::More;
 use PublicInbox::Spawn qw(which spawn);
+use IO::Handle; # ->autoflush
 use Fcntl qw(:seek);
 eval { require highlight } or
         plan skip_all => "failed to load highlight.pm for $0";