From 05ce308a9c20a805acff6fc71f54429a560d7684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 22 Jan 2022 00:38:57 +0100 Subject: [PATCH] test: fix typo in test-stream-toArray Refs: https://github.com/nodejs/node/pull/41553 PR-URL: https://github.com/nodejs/node/pull/41634 Reviewed-By: Richard Lau Reviewed-By: Benjamin Gruenbaum Reviewed-By: Mestery Reviewed-By: Rich Trott --- test/parallel/test-stream-toArray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-stream-toArray.js b/test/parallel/test-stream-toArray.js index 3bd15e7c0fbf34..4fcc77341fbcc8 100644 --- a/test/parallel/test-stream-toArray.js +++ b/test/parallel/test-stream-toArray.js @@ -67,7 +67,7 @@ const assert = require('assert'); }, { name: 'AbortError', }).then(common.mustCall(() => { - // Only stops toArray, does not destory the stream + // Only stops toArray, does not destroy the stream assert(stream.destroyed, false); })); ac.abort();