Add test for StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b5c79770db
commit
7c7c9447f6
|
@ -112,6 +112,9 @@ public class StrBuilderAppendInsertTest {
|
||||||
|
|
||||||
sb.append((CharSequence) "Seq");
|
sb.append((CharSequence) "Seq");
|
||||||
assertEquals("foobazyesSeq", sb.toString());
|
assertEquals("foobazyesSeq", sb.toString());
|
||||||
|
|
||||||
|
sb.append(new StringBuilder("bld")); // Check it supports StringBuilder
|
||||||
|
assertEquals("foobazyesSeqbld", sb.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue