Skip to content

Commit 8fe5fd8

Browse files
sethkrasnianskidougwilson
authored andcommitted
tests: fix error-handling typo
closes #2557
1 parent fa546bf commit 8fe5fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/req.signedCookies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('req', function(){
2929
.get('/')
3030
.set('Cookie', cookie)
3131
.end(function(err, res){
32-
if (err) return don(err);
32+
if (err) return done(err);
3333
res.body.should.eql({ obj: { foo: 'bar' } });
3434
done();
3535
});

0 commit comments

Comments
 (0)