replaced system.out.println with a real assertion in the test.
This commit is contained in:
parent
cc334475b0
commit
970446e997
@ -264,7 +264,8 @@ public class DefaultTypeAdaptersTest extends TestCase {
|
||||
Properties props = new Properties();
|
||||
props.setProperty("foo", "bar");
|
||||
String json = gson.toJson(props);
|
||||
System.out.println(json);
|
||||
String expected = "{\"foo\":\"bar\"}";
|
||||
assertEquals(expected, json);
|
||||
}
|
||||
|
||||
public void testPropertiesDeserialization() {
|
||||
|
Loading…
Reference in New Issue
Block a user