Fix Short test case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb90472825
commit
f26a785f20
|
@ -83,7 +83,7 @@ public void testPerson() {
|
|||
p.name = "John Q. Public";
|
||||
p.age = 45;
|
||||
p.smoker = true;
|
||||
String pBaseStr = p.getClass().getName();
|
||||
String pBaseStr = "ToStringStyleTest.Person";
|
||||
assertEquals(pBaseStr + "[name=John Q. Public,age=45,smoker=true]", new ToStringBuilder(p).append("name", p.name).append("age", p.age).append("smoker", p.smoker).toString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue