summaryrefslogtreecommitdiff
path: root/json/tests/draft-next/minItems.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft-next/minItems.json')
-rw-r--r--json/tests/draft-next/minItems.json44
1 files changed, 0 insertions, 44 deletions
diff --git a/json/tests/draft-next/minItems.json b/json/tests/draft-next/minItems.json
deleted file mode 100644
index d3b1872..0000000
--- a/json/tests/draft-next/minItems.json
+++ /dev/null
@@ -1,44 +0,0 @@
-[
- {
- "description": "minItems validation",
- "schema": {"minItems": 1},
- "tests": [
- {
- "description": "longer is valid",
- "data": [1, 2],
- "valid": true
- },
- {
- "description": "exact length is valid",
- "data": [1],
- "valid": true
- },
- {
- "description": "too short is invalid",
- "data": [],
- "valid": false
- },
- {
- "description": "ignores non-arrays",
- "data": "",
- "valid": true
- }
- ]
- },
- {
- "description": "minItems validation with a decimal",
- "schema": {"minItems": 1.0},
- "tests": [
- {
- "description": "longer is valid",
- "data": [1, 2],
- "valid": true
- },
- {
- "description": "too short is invalid",
- "data": [],
- "valid": false
- }
- ]
- }
-]