Mailing List Archive

svn commit: r1914066 - /spamassassin/trunk/t/askdns.t
Author: gbechis
Date: Thu Nov 23 08:33:21 2023
New Revision: 1914066

URL: http://svn.apache.org/viewvc?rev=1914066&view=rev
Log:
fix tests when Mail::DKIM is not installed

Modified:
spamassassin/trunk/t/askdns.t

Modified: spamassassin/trunk/t/askdns.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/askdns.t?rev=1914066&r1=1914065&r2=1914066&view=diff
==============================================================================
--- spamassassin/trunk/t/askdns.t (original)
+++ spamassassin/trunk/t/askdns.t Thu Nov 23 08:33:21 2023
@@ -13,8 +13,8 @@ use Test::More;
plan skip_all => "Net tests disabled" unless conf_bool('run_net_tests');
plan skip_all => "Can't use Net::DNS Safely" unless can_use_net_dns_safely();

-my $tests = 4;
-$tests += 3 if (HAS_DKIM_VERIFIER);
+my $tests = 3;
+$tests += 4 if (HAS_DKIM_VERIFIER);

plan tests => $tests;