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');
44var assert = require ( 'assert' ) ;
55var child_process = require ( 'child_process' ) ;
66var ChildProcess = child_process . ChildProcess ;
7- assert . equal ( typeof ChildProcess , 'function' ) ;
7+ assert . strictEqual ( typeof ChildProcess , 'function' ) ;
88
99// test that we can call spawn
1010var child = new ChildProcess ( ) ;
@@ -15,11 +15,11 @@ child.spawn({
1515 stdio : 'pipe'
1616} ) ;
1717
18- assert . equal ( child . hasOwnProperty ( 'pid' ) , true ) ;
18+ assert . strictEqual ( child . hasOwnProperty ( 'pid' ) , true ) ;
1919
2020// try killing with invalid signal
2121assert . throws ( function ( ) {
2222 child . kill ( 'foo' ) ;
2323} , / U n k n o w n s i g n a l : f o o / ) ;
2424
25- assert . equal ( child . kill ( ) , true ) ;
25+ assert . strictEqual ( child . kill ( ) , true ) ;
You can’t perform that action at this time.
0 commit comments