1
0
Fork 0

Added assert.notStrictEqual to client-side assertions

closure/master
Mike Gerwitz 2011-08-11 21:05:42 -04:00
parent 7a579ab2aa
commit 91a6fb51e9
1 changed files with 9 additions and 0 deletions

View File

@ -56,6 +56,15 @@ module.assert = { exports: {
}, },
notStrictEqual: function( val, cmp, err )
{
if ( val === cmp )
{
failAssertion( err );
}
},
notEqual: function ( val, cmp, err ) notEqual: function ( val, cmp, err )
{ {
if ( val === cmp ) if ( val === cmp )