Added assert.notStrictEqual to client-side assertions
parent
7a579ab2aa
commit
91a6fb51e9
|
@ -56,6 +56,15 @@ module.assert = { exports: {
|
|||
},
|
||||
|
||||
|
||||
notStrictEqual: function( val, cmp, err )
|
||||
{
|
||||
if ( val === cmp )
|
||||
{
|
||||
failAssertion( err );
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
notEqual: function ( val, cmp, err )
|
||||
{
|
||||
if ( val === cmp )
|
||||
|
|
Loading…
Reference in New Issue