From 970446e997904d036060bba31c39061fe5e1ea65 Mon Sep 17 00:00:00 2001 From: Inderjeet Singh Date: Wed, 31 Dec 2008 01:15:15 +0000 Subject: [PATCH] replaced system.out.println with a real assertion in the test. --- .../com/google/gson/functional/DefaultTypeAdaptersTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gson/src/test/java/com/google/gson/functional/DefaultTypeAdaptersTest.java b/gson/src/test/java/com/google/gson/functional/DefaultTypeAdaptersTest.java index 9773331c..0bb9e36c 100644 --- a/gson/src/test/java/com/google/gson/functional/DefaultTypeAdaptersTest.java +++ b/gson/src/test/java/com/google/gson/functional/DefaultTypeAdaptersTest.java @@ -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() {