Skip to content
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

All format test cases should be under the format directory. #751

Merged

Conversation

big-andy-coates
Copy link
Contributor

@big-andy-coates big-andy-coates commented Jun 22, 2024

fixes: creek-service/json-schema-validation-comparison#190

Currently, there exists an ecma regex test case, that uses "format": "regex", but which does not live under the optional/format directory.

My understanding was that all tests that require format validation from implementations where under the optional/format directory. (As per point #2 under the Additional Assumptions section of the docs).

Having this one test case outside of the directory complicates the implementations of all test runners and the need to turn on format validation for this one test case isn't even documented.

As such, this change moves the test requiring format under the optional/format directory.

This change was prompted by: creek-service/json-schema-validation-comparison#190

Currently, there exists an ecma regex test case that uses `"format": "regex"`.

My understanding was that all tests that require format validation where implemented under the `optional/format` directory. (As per point json-schema-org#2 of https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/9fc880bfb6d8ccd093bc82431f17d13681ffae8e/README.md#additional-assumptions).

As such, this change moves the test requiring `format` under the `optional/format` directory.
@big-andy-coates
Copy link
Contributor Author

@karenetheridge is there something stopping this being merged?

@big-andy-coates
Copy link
Contributor Author

@karenetheridge is there something stopping this being merged?

@karenetheridge
Copy link
Member

Apologies, my mail filter for mentions was broken so I didn't see the nudges previously.

this is good to go, so merging!

@karenetheridge karenetheridge merged commit 8ef1550 into json-schema-org:main Sep 18, 2024
3 checks passed
@big-andy-coates big-andy-coates deleted the format_tests_under_format branch October 2, 2024 13:52
@big-andy-coates
Copy link
Contributor Author

No worries - thanks for merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Format assertions should be enabled for optional/ecmascript-regex.json
2 participants