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

json.Present() return error in case of 0 #13

Closed
ghost opened this issue Jul 14, 2022 · 2 comments
Closed

json.Present() return error in case of 0 #13

ghost opened this issue Jul 14, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Jul 14, 2022

Often have need to use this assert, but 0 could be proper value too, so please, fix this.

@siller174
Copy link
Collaborator

If you want to check values with 0, please, use ExpectJSONSchemaFile

@siller174 siller174 added the question Further information is requested label Jul 15, 2022
@siller174 siller174 self-assigned this Jul 15, 2022
@siller174 siller174 reopened this Jul 15, 2022
@siller174 siller174 mentioned this issue Jul 24, 2022
@siller174
Copy link
Collaborator

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

No branches or pull requests

1 participant