Fix test for munge_subject_threshold

This commit is contained in:
Priyadi Iman Nurcahyo 2014-05-15 14:45:33 +00:00
parent bb03a785ef
commit bef79d3b7d

View File

@ -127,7 +127,7 @@ sub test_munge_subject {
$transaction->header->add('Subject', $subject); $transaction->header->add('Subject', $subject);
$self->munge_subject($transaction); $self->munge_subject($transaction);
$r = $transaction->header->get('Subject'); chomp $r; $r = $transaction->header->get('Subject'); chomp $r;
cmp_ok($r, 'eq', "*** SPAM *** $subject", "+"); cmp_ok($r, 'eq', "$subject", "+");
}; };
sub test_get_spam_results { sub test_get_spam_results {