summaryrefslogtreecommitdiff
path: root/tests/draft6/ref.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/draft6/ref.json')
-rw-r--r--tests/draft6/ref.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/draft6/ref.json b/tests/draft6/ref.json
index 676d6a0..0357f3e 100644
--- a/tests/draft6/ref.json
+++ b/tests/draft6/ref.json
@@ -479,11 +479,16 @@
},
"tests": [
{
- "description": "do not evaluate the $ref inside the enum",
+ "description": "do not evaluate the $ref inside the enum, matching any string",
"data": "this is a string",
"valid": false
},
{
+ "description": "do not evaluate the $ref inside the enum, definition exact match",
+ "data": { "type": "string" },
+ "valid": false
+ },
+ {
"description": "match the enum exactly",
"data": { "$ref": "#/definitions/a_string" },
"valid": true