generated from creek-service/single-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
json-schema-org/JSON-Schema-Test-Suite
#751Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Format assertions should be enabled for optional/ecmascript-regex.json
as the \\a is not an ECMA 262 control escape
test is a format "format": "regex"
that expects the result to be invalid.
{
"description": "\\a is not an ECMA 262 control escape",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"format": "regex"
},
"tests": [
{
"description": "when used as a pattern",
"data": "\\a",
"valid": false
}
]
}
Additional context
The current networknt json-schema-validator 1.4.0 doesn't pass the test but an upcoming version will.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working