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 2009/11/15 01:34:38 UTC
svn commit: r836300 - /spamassassin/trunk/t/re_base_extraction.t
Author: jm
Date: Sun Nov 15 00:34:38 2009
New Revision: 836300
URL: http://svn.apache.org/viewvc?rev=836300&view=rev
Log:
bug 6214: add a passing regression test case for this bug
Modified:
spamassassin/trunk/t/re_base_extraction.t
Modified: spamassassin/trunk/t/re_base_extraction.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/re_base_extraction.t?rev=836300&r1=836299&r2=836300&view=diff
==============================================================================
--- spamassassin/trunk/t/re_base_extraction.t (original)
+++ spamassassin/trunk/t/re_base_extraction.t Sun Nov 15 00:34:38 2009
@@ -22,7 +22,7 @@
if (-e 't/test_dir') { chdir 't'; }
if (-e 'test_dir') { unshift(@INC, '../blib/lib'); }
- plan tests => 125;
+ plan tests => 128;
};
use lib '../lib';
@@ -419,6 +419,25 @@
]);
+# ---------------------------------------------------------------------------
+
+try_extraction ('
+ body TEST3 /toniospam/i
+
+', {
+ base_extract => 1,
+ bases_must_be_casei => 1,
+ bases_can_use_alternations => 0,
+ bases_can_use_quantifiers => 0,
+ bases_can_use_char_classes => 0,
+ bases_split_out_alternations => 0
+}, [
+
+ 'toniospam:TEST3,[l=0]',
+],[
+
+]);
+
#############################################################################
use Mail::SpamAssassin;