summaryrefslogtreecommitdiff
path: root/json/tests/draft6/maxLength.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft6/maxLength.json')
-rw-r--r--json/tests/draft6/maxLength.json49
1 files changed, 0 insertions, 49 deletions
diff --git a/json/tests/draft6/maxLength.json b/json/tests/draft6/maxLength.json
deleted file mode 100644
index 748b4da..0000000
--- a/json/tests/draft6/maxLength.json
+++ /dev/null
@@ -1,49 +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
- }
- ]
- },
- {
- "description": "maxLength validation with a decimal",
- "schema": {"maxLength": 2.0},
- "tests": [
- {
- "description": "shorter is valid",
- "data": "f",
- "valid": true
- },
- {
- "description": "too long is invalid",
- "data": "foo",
- "valid": false
- }
- ]
- }
-]