mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
89c327387b
commit
55adcb7f12
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user