-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format assertions should be enabled for optional/ecmascript-regex.json
#190
Format assertions should be enabled for optional/ecmascript-regex.json
#190
Comments
Thanks for letting me know @justin-tay . I'll take a look when I get time, or feel free to raise a PR. |
Hey @justin-tay, I've raised json-schema-org/JSON-Schema-Test-Suite#751 to fix the issue at source. Let's see what happens with that. |
There is a related discussion on this specific test |
@justin-tay With json-schema-org/JSON-Schema-Test-Suite#751 merged, I'm assuming this issue is now resolved? |
Closing as resolved upstream. |
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.https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/9fc880bfb6d8ccd093bc82431f17d13681ffae8e/tests/draft2020-12/optional/ecmascript-regex.json#L408-L421
Additional context
The current networknt json-schema-validator 1.4.0 doesn't pass the test but an upcoming version will.
The text was updated successfully, but these errors were encountered: