diff --git a/test/parallel/test-http-outgoing-finish-writable.js b/test/parallel/test-http-outgoing-finish-writable.js index e3c870164bac58..61c5cfa98234a6 100644 --- a/test/parallel/test-http-outgoing-finish-writable.js +++ b/test/parallel/test-http-outgoing-finish-writable.js @@ -9,7 +9,7 @@ const http = require('http'); const server = http.createServer(common.mustCall(function(req, res) { assert.strictEqual(res.writable, true); assert.strictEqual(res.finished, false); - assert.strictEqual(res.writableEnded, false); + assert.strictEqual(res.writableEnded, true); res.end(); // res.writable is set to false after it has finished sending