commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r963423 - /commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailLiveTest.java
Date Mon, 12 Jul 2010 18:39:25 GMT
Author: sgoeschl
Date: Mon Jul 12 18:39:24 2010
New Revision: 963423

URL: http://svn.apache.org/viewvc?rev=963423&view=rev
Log:
Fixed parameters for assertEquals()

Modified:
    commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailLiveTest.java

Modified: commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailLiveTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailLiveTest.java?rev=963423&r1=963422&r2=963423&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailLiveTest.java (original)
+++ commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailLiveTest.java Mon Jul
12 18:39:24 2010
@@ -241,8 +241,8 @@ public class EmailLiveTest extends BaseE
 
         if( EmailConfiguration.MAIL_FORCE_SEND ) {
           // the encoding is only set when sending the email!!
-          assertEquals(email.getMimeMessage().getEncoding(), "quoted-printable");
-          assertEquals(email.getMimeMessage().getContentType(), "text/plain; charset=UTF-8");
+          assertEquals("quoted-printable", email.getMimeMessage().getEncoding());
+          assertEquals("text/plain; charset=UTF-8", email.getMimeMessage().getContentType());
         }
     }
 



Mime
View raw message