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-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 D3C591FA12 for ; Wed, 2 Sep 2020 11:04:22 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 05/11] tests: add "use strict" and declare v5.10.1 compatibility Date: Wed, 2 Sep 2020 11:04:15 +0000 Message-Id: <20200902110421.30905-6-e@80x24.org> In-Reply-To: <20200902110421.30905-1-e@80x24.org> References: <20200902110421.30905-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: strict.pm helped me find a typo in an upcoming recent change, so ensure we use it since it does more good than harm. We'll also take the opportunity here to declare v5.10.1 compatibility level to future-proof against Perl incompatibilities. --- t/index-git-times.t | 3 +++ xt/eml_check_limits.t | 2 ++ 2 files changed, 5 insertions(+) diff --git a/t/index-git-times.t b/t/index-git-times.t index 8f80c866..73c99e61 100644 --- a/t/index-git-times.t +++ b/t/index-git-times.t @@ -1,5 +1,8 @@ +#!perl -w # Copyright (C) 2020 all contributors # License: AGPL-3.0+ +use strict; +use v5.10.1; use Test::More; use PublicInbox::TestCommon; use PublicInbox::Import; diff --git a/xt/eml_check_limits.t b/xt/eml_check_limits.t index cf780c77..9f821946 100644 --- a/xt/eml_check_limits.t +++ b/xt/eml_check_limits.t @@ -1,6 +1,8 @@ #!perl -w # Copyright (C) 2020 all contributors # License: AGPL-3.0+ +use strict; +use v5.10.1; use Test::More; use PublicInbox::TestCommon; use PublicInbox::Eml;