diff options
Diffstat (limited to 'tests/draft7/ref.json')
-rw-r--r-- | tests/draft7/ref.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/draft7/ref.json b/tests/draft7/ref.json index 80a4d1d..2ad0193 100644 --- a/tests/draft7/ref.json +++ b/tests/draft7/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 |