You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2023/01/03 15:47:25 UTC

svn commit: r1906355 - in /spamassassin/trunk: Makefile.PL t/mkrules.t t/mkrules_else.t

Author: sidney
Date: Tue Jan  3 15:47:25 2023
New Revision: 1906355

URL: http://svn.apache.org/viewvc?rev=1906355&view=rev
Log:
Bug 8097 - specify minimum version Test::Simple and Test::More for mkrules tests

Modified:
    spamassassin/trunk/Makefile.PL
    spamassassin/trunk/t/mkrules.t
    spamassassin/trunk/t/mkrules_else.t

Modified: spamassassin/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/spamassassin/trunk/Makefile.PL?rev=1906355&r1=1906354&r2=1906355&view=diff
==============================================================================
--- spamassassin/trunk/Makefile.PL (original)
+++ spamassassin/trunk/Makefile.PL Tue Jan  3 15:47:25 2023
@@ -198,10 +198,10 @@ my %makefile = (
         'ExtUtils::MakeMaker' => MIN_MAKEMAKER_VERSION,
     },
 
-    # The modules that are not core that are used in default tests
+    # The modules that are not core or that require a minimum version that are used in default tests
     'TEST_REQUIRES' => {
         'Devel::Cycle' => 0,
-        'Test::More'   => 0,
+        'Test::Simple' => 1.302067,
         'Text::Diff' => 0,
         'Perl::Critic::Policy::TestingAndDebugging::ProhibitNoStrict' => 0,
         'Perl::Critic::Policy::Perlsecret' => 0,

Modified: spamassassin/trunk/t/mkrules.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/mkrules.t?rev=1906355&r1=1906354&r2=1906355&view=diff
==============================================================================
--- spamassassin/trunk/t/mkrules.t (original)
+++ spamassassin/trunk/t/mkrules.t Tue Jan  3 15:47:25 2023
@@ -2,7 +2,7 @@
 
 use lib '.'; use lib 't';
 use SATest; sa_t_init("mkrules");
-use Test::More;
+use Test::More 1.302067;
 plan tests => 97;
 use File::Copy;
 use File::Path;

Modified: spamassassin/trunk/t/mkrules_else.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/mkrules_else.t?rev=1906355&r1=1906354&r2=1906355&view=diff
==============================================================================
--- spamassassin/trunk/t/mkrules_else.t (original)
+++ spamassassin/trunk/t/mkrules_else.t Tue Jan  3 15:47:25 2023
@@ -3,7 +3,7 @@
 
 use lib '.'; use lib 't';
 use SATest; sa_t_init("mkrules_else");
-use Test::More;
+use Test::More 1.302067;
 plan tests => 18;
 use File::Copy;
 use File::Path;