Mailing List Archive

svn commit: r1905869 - in /spamassassin/trunk: MANIFEST lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm t/podchecker.t
Author: sidney
Date: Thu Dec 8 21:31:13 2022
New Revision: 1905869

URL: http://svn.apache.org/viewvc?rev=1905869&view=rev
Log:
Bug 8088 - Fix typo in POD documentation and add podchecker.t to regression tests

Added:
spamassassin/trunk/t/podchecker.t (with props)
Modified:
spamassassin/trunk/MANIFEST
spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm

Modified: spamassassin/trunk/MANIFEST
URL: http://svn.apache.org/viewvc/spamassassin/trunk/MANIFEST?rev=1905869&r1=1905868&r2=1905869&view=diff
==============================================================================
--- spamassassin/trunk/MANIFEST (original)
+++ spamassassin/trunk/MANIFEST Thu Dec 8 21:31:13 2022
@@ -549,6 +549,7 @@ t/priorities.t
t/priorities_welcome_block.t
t/perlcritic.t
t/perlcritic.pl
+t/podchecker.t
t/pyzor.t
t/razor2.t
t/rcvd_parser.t

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm?rev=1905869&r1=1905868&r2=1905869&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm Thu Dec 8 21:31:13 2022
@@ -61,7 +61,7 @@ Part 1 = main message headers. Part 2 =
range=-3 (match only first three parts, including main headers)
range=2-3 (match only first two subparts)

-=items tflags NAME_OF_RULE concat
+=item tflags NAME_OF_RULE concat

Concatenate all headers from all mime parts (possible range applied) into a
single string for matching. This allows matching headers across multiple

Added: spamassassin/trunk/t/podchecker.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/podchecker.t?rev=1905869&view=auto
==============================================================================
--- spamassassin/trunk/t/podchecker.t (added)
+++ spamassassin/trunk/t/podchecker.t Thu Dec 8 21:31:13 2022
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+
+use lib '.'; use lib 't';
+use SATest; sa_t_init('podchecker');
+
+use strict;
+use warnings;
+use Test::More;
+
+plan skip_all => "This test requires Test::Pod" unless (eval { use Test::Pod 1.00; 1} );
+
+all_pod_files_ok("../blib");
+

Propchange: spamassassin/trunk/t/podchecker.t
------------------------------------------------------------------------------
svn:executable = *