1
0
Fork 0

Added strictEqual to client-side assertions

closure/master
Mike Gerwitz 2011-04-13 23:48:15 -04:00
parent 462671cfba
commit 969687e770
1 changed files with 9 additions and 0 deletions

View File

@ -39,6 +39,15 @@ function failAssertion( err )
*/
module.assert = { exports: {
equal: function ( val, cmp, err )
{
if ( val != cmp )
{
failAssertion( err );
}
},
strictEqual: function( val, cmp, err )
{
if ( val !== cmp )
{