@@ -771,8 +771,8 @@ describe('assert', function () {
771
771
} , "expected { a: { b: [ 'x', 'y' ] } } to have nested property 'a.c'" ) ;
772
772
773
773
err ( function ( ) {
774
- assert . notNestedInclude ( { a : { b : [ 'x' , 'y' ] } } , { 'a.b[1]' : 'y' } ) ;
775
- } , "expected { a: { b: [ 'x', 'y' ] } } to not have nested property 'a.b[1]' of 'y'" ) ;
774
+ assert . notNestedInclude ( { a : { b : [ 'x' , 'y' ] } } , { 'a.b[1]' : 'y' } , 'blah' ) ;
775
+ } , "blah: expected { a: { b: [ 'x', 'y' ] } } to not have nested property 'a.b[1]' of 'y'" ) ;
776
776
} ) ;
777
777
778
778
it ( 'deepNestedInclude and notDeepNestedInclude' , function ( ) {
@@ -796,8 +796,8 @@ describe('assert', function () {
796
796
} , "expected { a: { b: [ [Object] ] } } to have deep nested property 'a.c'" ) ;
797
797
798
798
err ( function ( ) {
799
- assert . notDeepNestedInclude ( { a : { b : [ { x : 1 } ] } } , { 'a.b[0]' : { x : 1 } } ) ;
800
- } , "expected { a: { b: [ [Object] ] } } to not have deep nested property 'a.b[0]' of { x: 1 }" ) ;
799
+ assert . notDeepNestedInclude ( { a : { b : [ { x : 1 } ] } } , { 'a.b[0]' : { x : 1 } } , 'blah' ) ;
800
+ } , "blah: expected { a: { b: [ [Object] ] } } to not have deep nested property 'a.b[0]' of { x: 1 }" ) ;
801
801
} ) ;
802
802
803
803
it ( 'ownInclude and notOwnInclude' , function ( ) {
@@ -820,8 +820,8 @@ describe('assert', function () {
820
820
} , "expected { a: 1 } to have own property 'toString'" ) ;
821
821
822
822
err ( function ( ) {
823
- assert . notOwnInclude ( { a : 1 } , { a : 1 } ) ;
824
- } , "expected { a: 1 } to not have own property 'a' of 1" ) ;
823
+ assert . notOwnInclude ( { a : 1 } , { a : 1 } , 'blah' ) ;
824
+ } , "blah: expected { a: 1 } to not have own property 'a' of 1" ) ;
825
825
} ) ;
826
826
827
827
it ( 'deepOwnInclude and notDeepOwnInclude' , function ( ) {
@@ -842,8 +842,8 @@ describe('assert', function () {
842
842
} , "expected { a: { b: 2 } } to have deep own property 'toString'" ) ;
843
843
844
844
err ( function ( ) {
845
- assert . notDeepOwnInclude ( { a : { b : 2 } } , { a : { b : 2 } } ) ;
846
- } , "expected { a: { b: 2 } } to not have deep own property 'a' of { b: 2 }" ) ;
845
+ assert . notDeepOwnInclude ( { a : { b : 2 } } , { a : { b : 2 } } , 'blah' ) ;
846
+ } , "blah: expected { a: { b: 2 } } to not have deep own property 'a' of { b: 2 }" ) ;
847
847
} ) ;
848
848
849
849
it ( 'keys(array|Object|arguments)' , function ( ) {
0 commit comments