summaryrefslogtreecommitdiffstats
path: root/contrib/libucl/tests
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-10-22 20:49:07 +0000
committerbapt <bapt@FreeBSD.org>2016-10-22 20:49:07 +0000
commitffafe3ab704ae77aebac04aed2a2f970475312d8 (patch)
tree1c03c20541f231404e89ca3807016bc85a56cb7d /contrib/libucl/tests
parent62cb4b26b932c652b62b8eba73976e4b9584ec97 (diff)
downloadFreeBSD-src-ffafe3ab704ae77aebac04aed2a2f970475312d8.zip
FreeBSD-src-ffafe3ab704ae77aebac04aed2a2f970475312d8.tar.gz
MFC r306544:
Import libucl 20160812
Diffstat (limited to 'contrib/libucl/tests')
-rw-r--r--contrib/libucl/tests/schema/patternProperties.json5
-rw-r--r--contrib/libucl/tests/schema/refRemote.json2
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/libucl/tests/schema/patternProperties.json b/contrib/libucl/tests/schema/patternProperties.json
index 18586e5..e386b6b 100644
--- a/contrib/libucl/tests/schema/patternProperties.json
+++ b/contrib/libucl/tests/schema/patternProperties.json
@@ -24,6 +24,11 @@
"valid": false
},
{
+ "description": "a single invalid match is invalid",
+ "data": {"fooooo": 2, "foo": "bar"},
+ "valid": false
+ },
+ {
"description": "multiple invalid matches is invalid",
"data": {"foo": "bar", "foooooo" : "baz"},
"valid": false
diff --git a/contrib/libucl/tests/schema/refRemote.json b/contrib/libucl/tests/schema/refRemote.json
index 0ba9adb..067c666 100644
--- a/contrib/libucl/tests/schema/refRemote.json
+++ b/contrib/libucl/tests/schema/refRemote.json
@@ -48,7 +48,7 @@
"valid": false
}
]
- },
+ }
/*
{
"description": "change resolution scope",
OpenPOWER on IntegriCloud