about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-09-02 11:04:15 +0000
committerEric Wong <e@80x24.org>2020-09-03 20:11:03 +0000
commit851aa7183cf2b152d7ff187729bc896597d22fad (patch)
tree3c43a32635b3e60cb1331d44991b9f4f3e279192
parent1561be76574111a53c9d7c284fd03f68d6a5208b (diff)
downloadpublic-inbox-851aa7183cf2b152d7ff187729bc896597d22fad.tar.gz
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.
-rw-r--r--t/index-git-times.t3
-rw-r--r--xt/eml_check_limits.t2
2 files changed, 5 insertions, 0 deletions
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 <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+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 <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+use strict;
+use v5.10.1;
 use Test::More;
 use PublicInbox::TestCommon;
 use PublicInbox::Eml;