From d59786925d646f069608c1510b43068826bcca28 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 15 Nov 2011 16:37:47 -0500 Subject: [PATCH] add a couple corner case tests related to include keyword --- src/test/scala/com/typesafe/config/impl/TestUtils.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/scala/com/typesafe/config/impl/TestUtils.scala b/src/test/scala/com/typesafe/config/impl/TestUtils.scala index aeb25d97..d5f52350 100644 --- a/src/test/scala/com/typesafe/config/impl/TestUtils.scala +++ b/src/test/scala/com/typesafe/config/impl/TestUtils.scala @@ -232,6 +232,8 @@ abstract trait TestUtils { "{ include\"foo\" }", // include with no whitespace after it "[ include ]", // include can be a string value in an array "{ foo : include }", // include can be a field value also + "{ include \"foo\", \"a\" : \"b\" }", // valid include followed by comma and field + "{ foo include : 42 }", // valid to have a key not starting with include "[ ${foo} ]", "[ ${\"foo\"} ]", "[ ${foo.bar} ]",