summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/optional/format/regex.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/optional/format/regex.json')
-rw-r--r--json/tests/draft2020-12/optional/format/regex.json48
1 files changed, 0 insertions, 48 deletions
diff --git a/json/tests/draft2020-12/optional/format/regex.json b/json/tests/draft2020-12/optional/format/regex.json
deleted file mode 100644
index 3449177..0000000
--- a/json/tests/draft2020-12/optional/format/regex.json
+++ /dev/null
@@ -1,48 +0,0 @@
-[
- {
- "description": "validation of regular expressions",
- "schema": { "format": "regex" },
- "tests": [
- {
- "description": "all string formats ignore integers",
- "data": 12,
- "valid": true
- },
- {
- "description": "all string formats ignore floats",
- "data": 13.7,
- "valid": true
- },
- {
- "description": "all string formats ignore objects",
- "data": {},
- "valid": true
- },
- {
- "description": "all string formats ignore arrays",
- "data": [],
- "valid": true
- },
- {
- "description": "all string formats ignore booleans",
- "data": false,
- "valid": true
- },
- {
- "description": "all string formats ignore nulls",
- "data": null,
- "valid": true
- },
- {
- "description": "a valid regular expression",
- "data": "([abc])+\\s+$",
- "valid": true
- },
- {
- "description": "a regular expression with unclosed parens is invalid",
- "data": "^(abc]",
- "valid": false
- }
- ]
- }
-]