Skip to content

Commit

Permalink
tests: fix error-handling typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkrasnianski authored and dougwilson committed Feb 23, 2015
1 parent fa546bf commit 8fe5fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/req.signedCookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('req', function(){
.get('/')
.set('Cookie', cookie)
.end(function(err, res){
if (err) return don(err);
if (err) return done(err);
res.body.should.eql({ obj: { foo: 'bar' } });
done();
});
Expand Down

0 comments on commit 8fe5fd8

Please sign in to comment.