Added comment on LANG-727
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
656312f90a
commit
9908144874
|
@ -303,6 +303,7 @@ public class ToStringBuilderTest extends TestCase {
|
|||
List<Object> base = new ArrayList<Object>();
|
||||
String baseStr = this.toBaseString(base);
|
||||
|
||||
// Lots of contains methods so we're not making assumptions about the order of ArrayList [LANG-727].
|
||||
String result = ToStringBuilder.reflectionToString(base, null, true);
|
||||
assertTrue( StringUtils.startsWith(result, baseStr + "[") );
|
||||
assertTrue( StringUtils.contains(result, "elementData={<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>}" ) );
|
||||
|
|
Loading…
Reference in New Issue