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

Checks are skipped if the body is empty #144

Open
JJ opened this issue Sep 9, 2024 · 0 comments
Open

Checks are skipped if the body is empty #144

JJ opened this issue Sep 9, 2024 · 0 comments
Milestone

Comments

@JJ
Copy link
Owner

JJ commented Sep 9, 2024

Either in the current release, or going forward when allowEmpty is incorporated, checks on the body will not be performed if the body is empty (which is the default value). This might lead to a WAT because bodyContains will not be applied, for instance.
Dutifully, the warning says that's exactly what it's doing, but it might be unexpected behavior.
This might imply too that bodyContains turns off automatically allowEmpty. This could not be done before, so it's a plus of this new feature (thanks @litscher !)

@JJ JJ added this to the v15 milestone Sep 9, 2024
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