add a couple corner case tests related to include keyword

This commit is contained in:
Havoc Pennington 2011-11-15 16:37:47 -05:00
parent 68a22668bd
commit d59786925d

View File

@ -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} ]",