commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1459110 - /commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoderTestCase.java
Date Thu, 21 Mar 2013 00:54:07 GMT
Author: sebb
Date: Thu Mar 21 00:53:48 2013
New Revision: 1459110

URL: http://svn.apache.org/r1459110
Log:
Fix up incorrect indentation/line-wrap

Modified:
    commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoderTestCase.java

Modified: commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoderTestCase.java?rev=1459110&r1=1459109&r2=1459110&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoderTestCase.java
(original)
+++ commons/proper/fileupload/trunk/src/test/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoderTestCase.java
Thu Mar 21 00:53:48 2013
@@ -40,7 +40,7 @@ public final class QuotedPrintableDecode
 
     @Test
     public void plainDecode() throws Exception {
-        // spaces are allowed in encoded data 
+        // spaces are allowed in encoded data
         // There are special rules for trailing spaces; these are not currently implemented.
         assertEncoded("The quick brown fox jumps over the lazy dog.", "The quick brown fox
jumps over the lazy dog.");
     }
@@ -116,8 +116,8 @@ public final class QuotedPrintableDecode
             fail("Expected IOException");
         } catch (IOException e) {
             String em = e.getMessage();
-            assertTrue("Expected to find " + messageText + " in '" + em + "'",em.contains(messageText));
       }
-
+            assertTrue("Expected to find " + messageText + " in '" + em + "'",em.contains(messageText));
+        }
     }
 
 }



Mime
View raw message