diff options
Diffstat (limited to 'tests/draft2019-09/ref.json')
-rw-r--r-- | tests/draft2019-09/ref.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/draft2019-09/ref.json b/tests/draft2019-09/ref.json index 2da81e3..71cf509 100644 --- a/tests/draft2019-09/ref.json +++ b/tests/draft2019-09/ref.json @@ -420,11 +420,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": "#/$defs/a_string" }, "valid": true |