Test against static value

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2015-01-01 19:13:32 +00:00
parent 2515b3eb32
commit 42728e8e53
1 changed files with 1 additions and 2 deletions

View File

@ -51,8 +51,7 @@ public class JsonToStringStyleTest {
@Test
public void testNull() {
assertEquals(String.valueOf((Object) null),
new ToStringBuilder(null).toString());
assertEquals("null", new ToStringBuilder(null).toString());
}
@Test