From af750a4b437ebfc37c498fdba010e6e93c4d5bda Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 7 Oct 2022 17:41:52 -0400 Subject: [PATCH] assert message --- test/res.sendFile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/res.sendFile.js b/test/res.sendFile.js index c93c59f8a2..4db0a3b6a4 100644 --- a/test/res.sendFile.js +++ b/test/res.sendFile.js @@ -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(); });