From 4efeef18935af8f6cd944b573e8f18f7e13db391 Mon Sep 17 00:00:00 2001 From: Joel Leitch Date: Wed, 20 Apr 2011 22:32:13 +0000 Subject: [PATCH] Make test a little more complex to show it actually fixed the bug. --- gson/src/test/java/com/google/gson/functional/ArrayTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gson/src/test/java/com/google/gson/functional/ArrayTest.java b/gson/src/test/java/com/google/gson/functional/ArrayTest.java index d8d5fec7..facc676a 100644 --- a/gson/src/test/java/com/google/gson/functional/ArrayTest.java +++ b/gson/src/test/java/com/google/gson/functional/ArrayTest.java @@ -278,8 +278,8 @@ public class ArrayTest extends TestCase { * Regression test for Issue 205 */ public void testMixingTypesInObjectArraySerialization() { - Object[] array = new Object[] { 1, 2, new Object[] { "one", "two" } }; - assertEquals("[1,2,[\"one\",\"two\"]]", gson.toJson(array)); + Object[] array = new Object[] { 1, 2, new Object[] { "one", "two", 3 } }; + assertEquals("[1,2,[\"one\",\"two\",3]]", gson.toJson(array)); } /**