From be560731b8271eb442fa043eddcf3d4935da4e8c Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 12 Nov 2011 10:01:12 -0500 Subject: [PATCH] add test for an array as not-first element of another array Adds a line of coverage ;-) --- src/test/scala/com/typesafe/config/impl/TestUtils.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/scala/com/typesafe/config/impl/TestUtils.scala b/src/test/scala/com/typesafe/config/impl/TestUtils.scala index dc64e24b..0b338dac 100644 --- a/src/test/scala/com/typesafe/config/impl/TestUtils.scala +++ b/src/test/scala/com/typesafe/config/impl/TestUtils.scala @@ -156,6 +156,7 @@ abstract trait TestUtils { """{ "foo" : [10,11,12], "baz" : "boo" }""", """[{},{},{},{}]""", """[[[[[[]]]]]]""", + """[[1], [1,2], [1,2,3], []]""", // nested multiple-valued array """{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":42}}}}}}}}""", // this long one is mostly to test rendering """{ "foo" : { "bar" : "baz", "woo" : "w00t" }, "baz" : { "bar" : "baz", "woo" : [1,2,3,4], "w00t" : true, "a" : false, "b" : 3.14, "c" : null } }""",