Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

number: docfix for positive option #64

Merged

Conversation

bgentry
Copy link
Contributor

@bgentry bgentry commented Mar 25, 2018

The number validator with a positive option only validates that the number is not less than 0. This PR changes the docs to reflect that 0 is allowed.

This simple doc fix made more sense to me than changing the underlying behavior to match the docs, especially since there is a test explicitly verifying this behavior.

The number validator with a positive option only validates that the
number is not less than 0. Change the docs to reflect that 0 is
allowed.
@offirgolan
Copy link
Collaborator

Thanks @bgentry!

@offirgolan offirgolan merged commit fbca781 into adopted-ember-addons:master Mar 31, 2018
@bgentry bgentry deleted the docfix-for-positive-numbers branch April 2, 2018 17:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants