-
-
Notifications
You must be signed in to change notification settings - Fork 217
Add a test for schema-items alongside "ignored" additionalItems #635
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
Labels
enhancement
An enhancement to the tooling or structure of the suite (as opposed to a new test).
good first issue
An issue that is a good candidate for new contributors
missing test
A request to add a test to the suite that is currently not covered elsewhere.
Comments
Hi @Julian can you please check if this test is valid . If its okay ,which file should I be adding this to or should i create a new one . |
Thanks for trying to tackle this @0xSudarshan super appreciated. Here's some notes:
Let me know if that helps or if anything's unclear -- or if there's anything that'd help you as a new contributor to make this easier! And thanks again for giving this a shot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
An enhancement to the tooling or structure of the suite (as opposed to a new test).
good first issue
An issue that is a good candidate for new contributors
missing test
A request to add a test to the suite that is currently not covered elsewhere.
In pre-2020 drafts,
items
could take a schema or an array of schemas, and there was anadditionalItems
keyword. See e.g. hereWe have no test at the minute that asserts against the result of including a single schema
items
alongside a (vacuous)additionalItems
(where the behavior should be that the result depends solely on theitems
schema).In other words, a schema such as:
when applied to
[1, 2, 3]
should succeed, and when applied to[1, "2", "3"]
should fail.The text was updated successfully, but these errors were encountered: