Skip to content

Commit 143d8a1

Browse files
osukaaMylesBorins
authored andcommitted
test: fix typo
PR-URL: #15938 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 44c0385 commit 143d8a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/parallel/test-child-process-silent.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,17 @@ if (process.argv[2] === 'pipe') {
5353
child.stdout.pipe(process.stdout, {end: false});
5454

5555
let childSending = false;
56-
let childReciveing = false;
56+
let childReceiving = false;
5757
child.on('message', function(message) {
5858
if (childSending === false) {
5959
childSending = (message === 'message from child');
6060
}
6161

62-
if (childReciveing === false) {
63-
childReciveing = (message === 'got message from master');
62+
if (childReceiving === false) {
63+
childReceiving = (message === 'got message from master');
6464
}
6565

66-
if (childReciveing === true) {
66+
if (childReceiving === true) {
6767
child.kill();
6868
}
6969
});
@@ -81,6 +81,6 @@ if (process.argv[2] === 'pipe') {
8181

8282
// Check message system
8383
assert.ok(childSending);
84-
assert.ok(childReciveing);
84+
assert.ok(childReceiving);
8585
});
8686
}

0 commit comments

Comments
 (0)