You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/05/13 05:16:10 UTC

svn commit: r169929 - /spamassassin/trunk/t/regexp_valid.t

Author: jm
Date: Thu May 12 20:16:10 2005
New Revision: 169929

URL: http://svn.apache.org/viewcvs?rev=169929&view=rev
Log:
hmm, drop redundant test

Modified:
    spamassassin/trunk/t/regexp_valid.t

Modified: spamassassin/trunk/t/regexp_valid.t
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/regexp_valid.t?rev=169929&r1=169928&r2=169929&view=diff
==============================================================================
--- spamassassin/trunk/t/regexp_valid.t (original)
+++ spamassassin/trunk/t/regexp_valid.t Thu May 12 20:16:10 2005
@@ -1,12 +1,10 @@
 #!/usr/bin/perl -w
-
 # test regexp validation
 
 BEGIN {
   if (-e 't/test_dir') { # if we are running "t/rule_names.t", kluge around ...
     chdir 't';
   }
-
   if (-e 'test_dir') {            # running from test directory, not ..
     unshift(@INC, '../blib/lib');
   }
@@ -20,13 +18,12 @@
 use strict;
 use SATest; sa_t_init("regexp_valid");
 use Test;
-use Mail::SpamAssassin;
-use vars qw(%patterns %anti_patterns);
 
 # settings
-plan tests => 26;
+plan tests => 25;
 
 # initialize SpamAssassin
+use Mail::SpamAssassin;
 my $sa = create_saobj({'dont_copy_prefs' => 1});
 $sa->init(0); # parse rules
 
@@ -62,6 +59,5 @@
 ok !tryone '/test//';
 ok tryone '.*';
 
-ok tryone 'm*<a[^<]{0,60} onMouseMove=(?:3D)?"window.status=(?:3D)?\'https?://*';
 ok tryone 'm*<a[^<]{0,60} onMouseMove=(?:3D)?"window.status=(?:3D)?\'https?://*';