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 <rlau@redhat.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Tobias Nießen authored and Beth Griggs committed 2022-01-24 17:35:54 +00:00
1 parent 89c327387b
commit 55adcb7f12
1 file changed
+1 -1
+1 -1
View File
@@ -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();