Skip to content

Commit

Permalink
assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Oct 7, 2022
1 parent 4413587 commit af750a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/res.sendFile.js
Expand Up @@ -1052,6 +1052,7 @@ describe('res', function(){
res.sendfile('test/fixtures/user.html', function(err){
assert.ok(err)
assert.ok(!res.headersSent)
assert.strictEqual(err.message, 'broken!')
done();
});

Expand Down

0 comments on commit af750a4

Please sign in to comment.