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

Fixed the description for the empty() assertion in README.md #29

Merged
merged 1 commit into from May 20, 2015

Conversation

@sibartlett
Copy link
Contributor

sibartlett commented May 20, 2015

No description provided.

Fixed the description for the `empty()` assertion.
@sibartlett sibartlett changed the title Fixed the description for the `empty()` assertion in README.md Fixed the description for the empty() assertion in README.md May 20, 2015
@@ -406,7 +406,7 @@ expect(null).to.not.exist();

#### `empty()`

Asserts that the reference value has a non-zero `length` property or an object with at least one key.
Asserts that the reference value has a `length` property equal to zero or an object with no keys.

This comment has been minimized.

Copy link
@cjihrig

cjihrig May 20, 2015

Contributor

equal to zero isn't technically correct, but it sounds better than defined falsey value :-)

@cjihrig cjihrig added this to the 1.4.1 milestone May 20, 2015
@cjihrig cjihrig self-assigned this May 20, 2015
cjihrig added a commit that referenced this pull request May 20, 2015
Fixed the description for the empty() assertion in README.md
@cjihrig cjihrig merged commit 4c3cac5 into hapijs:master May 20, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.