commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1391116 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
Date Thu, 27 Sep 2012 17:27:30 GMT
Author: sebb
Date: Thu Sep 27 17:27:29 2012
New Revision: 1391116

URL: http://svn.apache.org/viewvc?rev=1391116&view=rev
Log:
Add test for StringBuilder

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java?rev=1391116&r1=1391115&r2=1391116&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
Thu Sep 27 17:27:29 2012
@@ -112,6 +112,9 @@ public class StrBuilderAppendInsertTest 
 
         sb.append((CharSequence) "Seq");
         assertEquals("foobazyesSeq", sb.toString());
+
+        sb.append(new StringBuilder("bld")); // Check it supports StringBuilder
+        assertEquals("foobazyesSeqbld", sb.toString());
     }
 
     //-----------------------------------------------------------------------



Mime
View raw message