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:
Sebastian Bazley 2012-09-27 17:27:29 +00:00
parent b5c79770db
commit 7c7c9447f6
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@ public void testAppend_Object() {
sb.append((CharSequence) "Seq");
assertEquals("foobazyesSeq", sb.toString());
sb.append(new StringBuilder("bld")); // Check it supports StringBuilder
assertEquals("foobazyesSeqbld", sb.toString());
}
//-----------------------------------------------------------------------