Skip to content

Commit

Permalink
Merge pull request #23 from glensc/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
DavertMik authored Jul 13, 2016
2 parents 793a1f2 + 31b7443 commit 76e3090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ verify_that($user->isActivated());
verify_not($user->isBanned());
```

This 2 functions doesn't check for strict true/false matching, rather `empty` function is used.
These two functions don't check for strict true/false matching, rather `empty` function is used.
`verify_that` checks that result is not empty value, `verify_not` does the opposite.

## Alternative Syntax

If you follow TDD/BDD you'd rather use `expect` instead of `verify`. Which is just an alias functions:
If you follow TDD/BDD you'd rather use `expect` instead of `verify`. Which are just an alias functions:

```php
expect("user have 5 posts", $user->getNumPosts())->equals(5);
Expand Down

0 comments on commit 76e3090

Please sign in to comment.