File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ var assert = require('assert');
55
66var enoentPath = 'foo123' ;
77var spawnargs = [ 'bar' ] ;
8- assert . equal ( common . fileExists ( enoentPath ) , false ) ;
8+ assert . strictEqual ( common . fileExists ( enoentPath ) , false ) ;
99
1010var enoentChild = spawn ( enoentPath , spawnargs ) ;
1111enoentChild . on ( 'error' , common . mustCall ( function ( err ) {
12- assert . equal ( err . code , 'ENOENT' ) ;
13- assert . equal ( err . errno , 'ENOENT' ) ;
14- assert . equal ( err . syscall , 'spawn ' + enoentPath ) ;
15- assert . equal ( err . path , enoentPath ) ;
12+ assert . strictEqual ( err . code , 'ENOENT' ) ;
13+ assert . strictEqual ( err . errno , 'ENOENT' ) ;
14+ assert . strictEqual ( err . syscall , 'spawn ' + enoentPath ) ;
15+ assert . strictEqual ( err . path , enoentPath ) ;
1616 assert . deepStrictEqual ( err . spawnargs , spawnargs ) ;
1717} ) ) ;
You can’t perform that action at this time.
0 commit comments