Skip to content

Remove unnecessary type validation from unevaluatedItems tests. #566

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

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

Julian
Copy link
Member

@Julian Julian commented Jun 30, 2022

For "real life" schemas, this is likely the desired behavior, but in
these tests it's not what's being tested (no results depend on it) and
essentially is just extra schema noise.

{
"unevaluatedItems": false
}
{ "unevaluatedItems": false }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really need to define a formatting style and apply it to the whole suite.... eventually.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, and I lamented it when doing this but I figured it'd be pretty uncontentious for this specific case :D.

Copy link
Member

@gregsdennis gregsdennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs rebase, but LGTM.

For "real life" schemas, this is likely the desired behavior, but in
these tests it's not what's being tested (no results depend on it) and
essentially is just extra schema noise.
@Julian Julian force-pushed the tidy-unevaluatedItems branch from c268421 to b45a787 Compare June 30, 2022 21:09
@Julian
Copy link
Member Author

Julian commented Jun 30, 2022

Thanks!

@Julian Julian merged commit 7967a87 into main Jun 30, 2022
@Julian Julian deleted the tidy-unevaluatedItems branch June 30, 2022 21:11
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.

2 participants