From 99a5a871ad7890987f1ee14917c57149ff539ec1 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Sat, 13 Nov 2021 16:13:08 +0200 Subject: [PATCH] fixup --- test/parallel/test-stream-writable-aborted.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-stream-writable-aborted.js b/test/parallel/test-stream-writable-aborted.js index 83f762e006eb7a..5c8eeb280247ca 100644 --- a/test/parallel/test-stream-writable-aborted.js +++ b/test/parallel/test-stream-writable-aborted.js @@ -14,12 +14,12 @@ const { Writable } = require('stream'); } { - const writable = new writable({ + const writable = new Writable({ read() { } }); assert.strictEqual(writable.writableAborted, false); writable.end(); - writable.destroy() + writable.destroy(); assert.strictEqual(writable.writableAborted, true); }