replaced system.out.println with a real assertion in the test.

This commit is contained in:
Inderjeet Singh 2008-12-31 01:15:15 +00:00
parent cc334475b0
commit 970446e997

View File

@ -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() {