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

Fix unacceptable kind of object to dump error #991

Open
scbedd opened this issue Aug 7, 2023 · 0 comments
Open

Fix unacceptable kind of object to dump error #991

scbedd opened this issue Aug 7, 2023 · 0 comments
Assignees

Comments

@scbedd
Copy link
Member

scbedd commented Aug 7, 2023

When an example's reportedProperties attribute is NOT populated, you get an error that looks like this:

An example Failure

image

Last commit that eliminated this error

Effectively, I believe the issue is when we have objects with 0 value within the reportedProperties object on an example where they are being expected to be present, the error that is generated is just...wrong.

There's a PROBLEM here, we're expecting these examples to have some value here, but oav should just be reporting the missing expectations, rather than failing to dump the json.

@scbedd scbedd self-assigned this Aug 7, 2023
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

No branches or pull requests

1 participant