[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-656-g5c68ecc
Chia-liang Kao
clkao at bestpractical.com
Thu Sep 2 08:06:55 EDT 2010
The branch, 3.9-trunk has been updated
via 5c68eccd79c886a91fae0c13cc4aa4ac24c338a5 (commit)
from 36df10d19a29dd932c62dd9dece13cfe1e4a0f01 (commit)
Summary of changes:
lib/RT/Test/Email.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 5c68eccd79c886a91fae0c13cc4aa4ac24c338a5
Author: Chia-liang Kao <clkao at bestpractical.com>
Date: Thu Sep 2 20:08:18 2010 +0800
Fix end of test email warnings.
diff --git a/lib/RT/Test/Email.pm b/lib/RT/Test/Email.pm
index c37861f..7903b55 100644
--- a/lib/RT/Test/Email.pm
+++ b/lib/RT/Test/Email.pm
@@ -122,7 +122,8 @@ END {
if (scalar @mail) {
diag ((scalar @mail)." uncaught notification email at end of test: ");
diag "From: @{[ $_->header('From' ) ]}, Subject: @{[ $_->header('Subject') ]}"
- for @mail;
+ for map { Email::Abstract->new($_)->cast('Email::Simple') } @mail;
+
die;
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list