[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-294-gd8d0f82

Alex M Vandiver alexmv at bestpractical.com
Tue Oct 13 15:36:49 EDT 2009


The branch, 3.8-trunk has been updated
       via  d8d0f822fbec2b66481de983dbade6ebced7d8c5 (commit)
      from  99e477aab130bd478e5a7efb23900be41375f981 (commit)

Summary of changes:
 lib/RT/Test.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit d8d0f822fbec2b66481de983dbade6ebced7d8c5
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Oct 13 15:36:24 2009 -0400

    Split on the same string we actually join on

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 19d3b62..6de822a 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -686,7 +686,7 @@ sub set_mail_catcher {
 
 sub fetch_caught_mails {
     my $self = shift;
-    return grep /\S/, split /%% split me! %%/,
+    return grep /\S/, split /%% split me! %%\n/,
         RT::Test->file_content( $mailbox_catcher, 'unlink' => 1, noexist => 1 );
 }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list