Skip to content

Commit

Permalink
Formatting fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Robben committed Oct 6, 2012
1 parent be8a806 commit 504675b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Expand Up @@ -50,9 +50,9 @@ describe('GET /users', function(){
})
```

If you are using the `.end()` syntax with mocha, `expect()` assertions that fail will
If you are using the `.end()` syntax with mocha, `.expect()` assertions that fail will
not throw - they will return the assertion as an error to the `.end()` callback. In
order to fail the test case, you will need to rethrow or pass `err` to `done`, as follows:
order to fail the test case, you will need to rethrow or pass `err` to `done()`, as follows:

```js
describe('GET /users', function(){
Expand Down

0 comments on commit 504675b

Please sign in to comment.