[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-832-gf86784f

? sunnavy sunnavy at bestpractical.com
Mon Sep 20 20:54:38 EDT 2010


The branch, 3.9-trunk has been updated
       via  f86784feb70314124d2d95159c37b0d7c83ce6fc (commit)
      from  d69371b60d738067cafe37bf19eb4b1c00bf6a56 (commit)

Summary of changes:
 t/mail/wrong_mime_charset.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit f86784feb70314124d2d95159c37b0d7c83ce6fc
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Sep 21 08:57:34 2010 +0800

    so many == around that I made a stupid typo

diff --git a/t/mail/wrong_mime_charset.t b/t/mail/wrong_mime_charset.t
index a83a4fb..7636de4 100644
--- a/t/mail/wrong_mime_charset.t
+++ b/t/mail/wrong_mime_charset.t
@@ -29,7 +29,7 @@ RT::I18N::SetMIMEEntityToEncoding( $mime, 'iso-8859-1' );
 # but 5.8 and 5.10 warns only once.
 ok( @warnings == 1 || @warnings == 2, "1 or 2 warnings are ok" );
 ok(
-    @warnings == 1 || $warnings[1] == $warnings[0],
+    @warnings == 1 || $warnings[1] eq $warnings[0],
     'if there are 2 warnings, they should be same'
 );
 

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


More information about the Rt-commit mailing list