aboutsummaryrefslogtreecommitdiff
path: root/bin/jsonschema/tests/draft4/maxLength.json
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jsonschema/tests/draft4/maxLength.json')
-rw-r--r--bin/jsonschema/tests/draft4/maxLength.json33
1 files changed, 0 insertions, 33 deletions
diff --git a/bin/jsonschema/tests/draft4/maxLength.json b/bin/jsonschema/tests/draft4/maxLength.json
deleted file mode 100644
index 811d35b..0000000
--- a/bin/jsonschema/tests/draft4/maxLength.json
+++ /dev/null
@@ -1,33 +0,0 @@
-[
- {
- "description": "maxLength validation",
- "schema": {"maxLength": 2},
- "tests": [
- {
- "description": "shorter is valid",
- "data": "f",
- "valid": true
- },
- {
- "description": "exact length is valid",
- "data": "fo",
- "valid": true
- },
- {
- "description": "too long is invalid",
- "data": "foo",
- "valid": false
- },
- {
- "description": "ignores non-strings",
- "data": 100,
- "valid": true
- },
- {
- "description": "two supplementary Unicode code points is long enough",
- "data": "\uD83D\uDCA9\uD83D\uDCA9",
- "valid": true
- }
- ]
- }
-]