@@ -10,7 +10,7 @@ const writeStream = new WriteStream(fd);
1010
1111{
1212 const depth = writeStream . getColorDepth ( ) ;
13- assert . equal ( typeof depth , 'number' ) ;
13+ assert . strictEqual ( typeof depth , 'number' ) ;
1414 assert ( depth >= 1 && depth <= 24 ) ;
1515}
1616
@@ -44,7 +44,7 @@ const writeStream = new WriteStream(fd);
4444 [ { TERM : 'dumb' , COLORTERM : '1' } , 4 ] ,
4545] . forEach ( ( [ env , depth ] , i ) => {
4646 const actual = writeStream . getColorDepth ( env ) ;
47- assert . equal (
47+ assert . strictEqual (
4848 actual ,
4949 depth ,
5050 `i: ${ i } , expected: ${ depth } , actual: ${ actual } , env: ${ env } `
@@ -57,8 +57,8 @@ const writeStream = new WriteStream(fd);
5757 const [ value , depth1 , depth2 ] = process . platform !== 'win32' ?
5858 [ 'win32' , 1 , 4 ] : [ 'linux' , 4 , 1 ] ;
5959
60- assert . equal ( writeStream . getColorDepth ( { } ) , depth1 ) ;
60+ assert . strictEqual ( writeStream . getColorDepth ( { } ) , depth1 ) ;
6161 Object . defineProperty ( process , 'platform' , { value } ) ;
62- assert . equal ( writeStream . getColorDepth ( { } ) , depth2 ) ;
62+ assert . strictEqual ( writeStream . getColorDepth ( { } ) , depth2 ) ;
6363 Object . defineProperty ( process , 'platform' , platform ) ;
6464}
0 commit comments