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

Min / Max rules that are set to a value of 0 are now included in the rul... #930

Closed
wants to merge 3 commits into from

Conversation

tonineumann
Copy link

Fixed the defect. The min & max rules now support having a value of 0 as the rule.

@jzaefferer
Copy link
Collaborator

Thank you for the contribution! Could you update this to allow 0, as @Ruben-J suggested, and add a unit test?

Changed the rule test to make an exception for zero or the rule itself.
@tonineumann
Copy link
Author

Thanks ruben-j for the better solution. I have created a new commit implementing the recommendation.

@jzaefferer
Copy link
Collaborator

Thanks, this looks good. Would be even better with a unit test, to prevent regressions.

@jzaefferer
Copy link
Collaborator

Also close #854 when landing this.

@tonineumann
Copy link
Author

Jörn, What do you mean by "landing this"?

@nschonni
Copy link
Collaborator

"landing this" means merging the pull request.

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.

4 participants