mirror of
https://github.com/lightbend/config.git
synced 2025-02-22 01:00:31 +08:00
add a couple corner case tests related to include keyword
This commit is contained in:
parent
68a22668bd
commit
d59786925d
@ -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} ]",
|
||||
|
Loading…
Reference in New Issue
Block a user