@@ -479,7 +479,7 @@ test('Assert class non strict with simple diff', () => {
479479 }
480480} ) ;
481481
482- // Shared setup for skipPrototypeComparison tests
482+ // Shared setup for skipPrototype tests
483483{
484484 const message = 'Expected values to be strictly deep-equal:\n' +
485485 '+ actual - expected\n' +
@@ -507,8 +507,8 @@ test('Assert class non strict with simple diff', () => {
507507 const modern = new Modern ( 42 ) ;
508508 const legacy = new Legacy ( 42 ) ;
509509
510- test ( 'Assert class strict with skipPrototypeComparison ' , ( ) => {
511- const assertInstance = new Assert ( { skipPrototypeComparison : true } ) ;
510+ test ( 'Assert class strict with skipPrototype ' , ( ) => {
511+ const assertInstance = new Assert ( { skipPrototype : true } ) ;
512512
513513 assert . throws (
514514 ( ) => assertInstance . deepEqual ( [ 1 , 2 , 3 , 4 , 5 , 6 , 7 ] , [ 1 , 2 , 3 , 4 , 5 , 9 , 7 ] ) ,
@@ -535,8 +535,8 @@ test('Assert class non strict with simple diff', () => {
535535 assertInstance . deepStrictEqual ( arr , buf ) ;
536536 } ) ;
537537
538- test ( 'Assert class non strict with skipPrototypeComparison ' , ( ) => {
539- const assertInstance = new Assert ( { strict : false , skipPrototypeComparison : true } ) ;
538+ test ( 'Assert class non strict with skipPrototype ' , ( ) => {
539+ const assertInstance = new Assert ( { strict : false , skipPrototype : true } ) ;
540540
541541 assert . throws (
542542 ( ) => assertInstance . deepStrictEqual ( [ 1 , 2 , 3 , 4 , 5 , 6 , 7 ] , [ 1 , 2 , 3 , 4 , 5 , 9 , 7 ] ) ,
@@ -547,8 +547,8 @@ test('Assert class non strict with simple diff', () => {
547547 assertInstance . deepStrictEqual ( modern , legacy ) ;
548548 } ) ;
549549
550- test ( 'Assert class skipPrototypeComparison with complex objects' , ( ) => {
551- const assertInstance = new Assert ( { skipPrototypeComparison : true } ) ;
550+ test ( 'Assert class skipPrototype with complex objects' , ( ) => {
551+ const assertInstance = new Assert ( { skipPrototype : true } ) ;
552552
553553 function ComplexAwesomeClass ( name , age ) {
554554 this . name = name ;
@@ -582,8 +582,8 @@ test('Assert class non strict with simple diff', () => {
582582 ) ;
583583 } ) ;
584584
585- test ( 'Assert class skipPrototypeComparison with arrays and special objects' , ( ) => {
586- const assertInstance = new Assert ( { skipPrototypeComparison : true } ) ;
585+ test ( 'Assert class skipPrototype with arrays and special objects' , ( ) => {
586+ const assertInstance = new Assert ( { skipPrototype : true } ) ;
587587
588588 const arr1 = [ 1 , 2 , 3 ] ;
589589 const arr2 = new Array ( 1 , 2 , 3 ) ;
@@ -604,8 +604,8 @@ test('Assert class non strict with simple diff', () => {
604604 ) ;
605605 } ) ;
606606
607- test ( 'Assert class skipPrototypeComparison with notDeepStrictEqual' , ( ) => {
608- const assertInstance = new Assert ( { skipPrototypeComparison : true } ) ;
607+ test ( 'Assert class skipPrototype with notDeepStrictEqual' , ( ) => {
608+ const assertInstance = new Assert ( { skipPrototype : true } ) ;
609609
610610 assert . throws (
611611 ( ) => assertInstance . notDeepStrictEqual ( cool , awesome ) ,
@@ -615,12 +615,12 @@ test('Assert class non strict with simple diff', () => {
615615 const notAwesome = new AwesomeClass ( 'Not so awesome' ) ;
616616 assertInstance . notDeepStrictEqual ( cool , notAwesome ) ;
617617
618- const defaultAssertInstance = new Assert ( { skipPrototypeComparison : false } ) ;
618+ const defaultAssertInstance = new Assert ( { skipPrototype : false } ) ;
619619 defaultAssertInstance . notDeepStrictEqual ( cool , awesome ) ;
620620 } ) ;
621621
622- test ( 'Assert class skipPrototypeComparison with mixed types' , ( ) => {
623- const assertInstance = new Assert ( { skipPrototypeComparison : true } ) ;
622+ test ( 'Assert class skipPrototype with mixed types' , ( ) => {
623+ const assertInstance = new Assert ( { skipPrototype : true } ) ;
624624
625625 const obj1 = { value : 42 , nested : { prop : 'test' } } ;
626626
0 commit comments