From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E0F6D1F885 for ; Sun, 26 Jan 2020 10:29:24 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/4] t/hl_mod: document IO::Handle for autoflush Date: Sun, 26 Jan 2020 10:29:23 +0000 Message-Id: <20200126102924.3593-4-e@yhbt.net> In-Reply-To: <20200126102924.3593-1-e@yhbt.net> References: <20200126102924.3593-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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. --- t/hl_mod.t | 1 + 1 file changed, 1 insertion(+) 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";