aboutsummaryrefslogtreecommitdiff
path: root/bin/jsonschema/tests/draft4/pattern.json
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jsonschema/tests/draft4/pattern.json')
-rw-r--r--bin/jsonschema/tests/draft4/pattern.json34
1 files changed, 0 insertions, 34 deletions
diff --git a/bin/jsonschema/tests/draft4/pattern.json b/bin/jsonschema/tests/draft4/pattern.json
deleted file mode 100644
index 25e7299..0000000
--- a/bin/jsonschema/tests/draft4/pattern.json
+++ /dev/null
@@ -1,34 +0,0 @@
-[
- {
- "description": "pattern validation",
- "schema": {"pattern": "^a*$"},
- "tests": [
- {
- "description": "a matching pattern is valid",
- "data": "aaa",
- "valid": true
- },
- {
- "description": "a non-matching pattern is invalid",
- "data": "abc",
- "valid": false
- },
- {
- "description": "ignores non-strings",
- "data": true,
- "valid": true
- }
- ]
- },
- {
- "description": "pattern is not anchored",
- "schema": {"pattern": "a+"},
- "tests": [
- {
- "description": "matches a substring",
- "data": "xxaayy",
- "valid": true
- }
- ]
- }
-]