summaryrefslogtreecommitdiff
path: root/json/tests/draft3/infinite-loop-detection.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft3/infinite-loop-detection.json')
-rw-r--r--json/tests/draft3/infinite-loop-detection.json32
1 files changed, 0 insertions, 32 deletions
diff --git a/json/tests/draft3/infinite-loop-detection.json b/json/tests/draft3/infinite-loop-detection.json
deleted file mode 100644
index 090f49a..0000000
--- a/json/tests/draft3/infinite-loop-detection.json
+++ /dev/null
@@ -1,32 +0,0 @@
-[
- {
- "description": "evaluating the same schema location against the same data location twice is not a sign of an infinite loop",
- "schema": {
- "definitions": {
- "int": { "type": "integer" }
- },
- "properties": {
- "foo": {
- "$ref": "#/definitions/int"
- }
- },
- "extends": {
- "additionalProperties": {
- "$ref": "#/definitions/int"
- }
- }
- },
- "tests": [
- {
- "description": "passing case",
- "data": { "foo": 1 },
- "valid": true
- },
- {
- "description": "failing case",
- "data": { "foo": "a string" },
- "valid": false
- }
- ]
- }
-]