@@ -461,32 +461,32 @@ test('toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
461461} ) ;
462462
463463test ( 'boxed primitives' , function ( t ) {
464- t . deepEqualTest ( Object ( false ) , false , 'boxed and primitive `false`' , true , true ) ;
465- t . deepEqualTest ( Object ( true ) , true , 'boxed and primitive `true`' , true , true ) ;
466- t . deepEqualTest ( Object ( 3 ) , 3 , 'boxed and primitive `3`' , true , true ) ;
467- t . deepEqualTest ( Object ( NaN ) , NaN , 'boxed and primitive `NaN`' , false , true ) ;
468- t . deepEqualTest ( Object ( '' ) , '' , 'boxed and primitive `""`' , true , true ) ;
469- t . deepEqualTest ( Object ( 'str' ) , 'str' , 'boxed and primitive `"str"`' , true , true ) ;
464+ t . deepEqualTest ( Object ( false ) , false , 'boxed and primitive `false`' , false , false ) ;
465+ t . deepEqualTest ( Object ( true ) , true , 'boxed and primitive `true`' , false , false ) ;
466+ t . deepEqualTest ( Object ( 3 ) , 3 , 'boxed and primitive `3`' , false , false ) ;
467+ t . deepEqualTest ( Object ( NaN ) , NaN , 'boxed and primitive `NaN`' , false , false ) ;
468+ t . deepEqualTest ( Object ( '' ) , '' , 'boxed and primitive `""`' , false , false ) ;
469+ t . deepEqualTest ( Object ( 'str' ) , 'str' , 'boxed and primitive `"str"`' , false , false ) ;
470470
471471 t . test ( 'symbol' , { skip : ! hasSymbols } , function ( st ) {
472472 var s = Symbol ( '' ) ;
473- st . deepEqualTest ( Object ( s ) , s , 'boxed and primitive `Symbol()`' , true , true ) ;
473+ st . deepEqualTest ( Object ( s ) , s , 'boxed and primitive `Symbol()`' , false , false ) ;
474474 st . end ( ) ;
475475 } ) ;
476476
477477 t . test ( 'bigint' , { skip : typeof BigInt !== 'function' } , function ( st ) {
478478 var hhgtg = BigInt ( 42 ) ;
479- st . deepEqualTest ( Object ( hhgtg ) , hhgtg , 'boxed and primitive `BigInt(42)`' , true , true ) ;
479+ st . deepEqualTest ( Object ( hhgtg ) , hhgtg , 'boxed and primitive `BigInt(42)`' , false , false ) ;
480480 st . end ( ) ;
481481 } ) ;
482482
483- t . test ( '`valueOf` is not called for boxed primitives' , function ( st ) {
483+ t . test ( '`valueOf` is called for boxed primitives' , function ( st ) {
484484 var a = Object ( 5 ) ;
485485 a . valueOf = function ( ) { throw new Error ( 'failed' ) ; } ;
486486 var b = Object ( 5 ) ;
487487 b . valueOf = function ( ) { throw new Error ( 'failed' ) ; } ;
488488
489- st . deepEqualTest ( a , b , 'two boxed numbers with a thrower valueOf' , true , true ) ;
489+ st . deepEqualTest ( a , b , 'two boxed numbers with a thrower valueOf' , false , false ) ;
490490
491491 st . end ( ) ;
492492 } ) ;
0 commit comments