svn commit: r1937168 - spamassassin/trunk/t

[email protected]
Newsgroups gmane.mail.spam.spamassassin.cvs
Message-ID <178692212562.2795500.13530231793140757036@svn03-he-fi>
Author: sidney
Date: Sun Aug 16 23:15:25 2026
New Revision: 1937168

Log:
Bug 8408 - Fix bad test plan count in t/handler_archive.t

Modified:
   spamassassin/trunk/t/handler_archive.t

Modified: spamassassin/trunk/t/handler_archive.t
==============================================================================
--- spamassassin/trunk/t/handler_archive.t	Sun Aug 16 20:43:21 2026	(r1937167)
+++ spamassassin/trunk/t/handler_archive.t	Sun Aug 16 23:15:25 2026	(r1937168)
@@ -42,8 +42,8 @@ sub find_bin {
 }
 my $unrar = find_bin('unrar');
 
-# 7 zip assertions, +3 octet-stream, +2 max-files, +(4 rar when unrar present)
-plan tests => 7 + 3 + 2 + ($unrar ? 4 : 0);
+# 7 zip assertions, +3 octet-stream, +2 max-files, +4 rar (only actually run when unrar present)
+plan tests => 7 + 3 + 2 + 4;
 
 tstpre ("
   loadhandler Mail::SpamAssassin::Handler::Archive
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.