File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ require('../common');
4
4
var assert = require ( 'assert' ) ;
5
5
var child_process = require ( 'child_process' ) ;
6
6
var ChildProcess = child_process . ChildProcess ;
7
- assert . equal ( typeof ChildProcess , 'function' ) ;
7
+ assert . strictEqual ( typeof ChildProcess , 'function' ) ;
8
8
9
9
// test that we can call spawn
10
10
var child = new ChildProcess ( ) ;
@@ -15,11 +15,11 @@ child.spawn({
15
15
stdio : 'pipe'
16
16
} ) ;
17
17
18
- assert . equal ( child . hasOwnProperty ( 'pid' ) , true ) ;
18
+ assert . strictEqual ( child . hasOwnProperty ( 'pid' ) , true ) ;
19
19
20
20
// try killing with invalid signal
21
21
assert . throws ( function ( ) {
22
22
child . kill ( 'foo' ) ;
23
23
} , / U n k n o w n s i g n a l : f o o / ) ;
24
24
25
- assert . equal ( child . kill ( ) , true ) ;
25
+ assert . strictEqual ( child . kill ( ) , true ) ;
You can’t perform that action at this time.
0 commit comments