Skip to content

Commit ffdeefb

Browse files
deokjinkimErickWendel
authored andcommitted
test: fix typos in test/parallel
Fix typos in parallel tests. PR-URL: nodejs#45583 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Erick Wendel <erick.workspace@gmail.com> Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
1 parent 909b3d8 commit ffdeefb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-event-capture-rejections.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function globalSetting() {
107107
}
108108

109109
// We need to be able to configure this for streams, as we would
110-
// like to call destro(err) there.
110+
// like to call destroy(err) there.
111111
function configurable() {
112112
const ee = new EventEmitter({ captureRejections: true });
113113
const _err = new Error('kaboom');

test/parallel/test-stream-writable-samecb-singletick.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const async_hooks = require('async_hooks');
1515
const checkTickCreated = common.mustCall();
1616

1717
async_hooks.createHook({
18-
init(id, type, triggerId, resoure) {
18+
init(id, type, triggerId, resource) {
1919
if (type === 'TickObject') checkTickCreated();
2020
}
2121
}).enable();

0 commit comments

Comments
 (0)