From 851aa7183cf2b152d7ff187729bc896597d22fad Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Wed, 2 Sep 2020 11:04:15 +0000
Subject: [PATCH] tests: add "use strict" and declare v5.10.1 compatibility

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 <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;
-- 
2.50.0