Commit 143d8a1 1 parent 44c0385 commit 143d8a1 Copy full SHA for 143d8a1
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,17 +53,17 @@ if (process.argv[2] === 'pipe') {
53
53
child . stdout . pipe ( process . stdout , { end : false } ) ;
54
54
55
55
let childSending = false ;
56
- let childReciveing = false ;
56
+ let childReceiving = false ;
57
57
child . on ( 'message' , function ( message ) {
58
58
if ( childSending === false ) {
59
59
childSending = ( message === 'message from child' ) ;
60
60
}
61
61
62
- if ( childReciveing === false ) {
63
- childReciveing = ( message === 'got message from master' ) ;
62
+ if ( childReceiving === false ) {
63
+ childReceiving = ( message === 'got message from master' ) ;
64
64
}
65
65
66
- if ( childReciveing === true ) {
66
+ if ( childReceiving === true ) {
67
67
child . kill ( ) ;
68
68
}
69
69
} ) ;
@@ -81,6 +81,6 @@ if (process.argv[2] === 'pipe') {
81
81
82
82
// Check message system
83
83
assert . ok ( childSending ) ;
84
- assert . ok ( childReciveing ) ;
84
+ assert . ok ( childReceiving ) ;
85
85
} ) ;
86
86
}
You can’t perform that action at this time.
0 commit comments