about summary refs log tree commit homepage
diff options
context:
space:
mode:
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
parentfb0afdaa35d778c237c40b10216c38e360b248b3 (diff)
downloadpublic-inbox-dd694f1c3797ce0ca7a4748a97f8af536ef21c2e.tar.gz
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.
-rw-r--r--t/hl_mod.t1
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";