From 91a6fb51e9dd0c53ff8c1b6d1eb8b578e097034e Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 11 Aug 2011 21:05:42 -0400 Subject: [PATCH] Added assert.notStrictEqual to client-side assertions --- tools/combine-test.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/combine-test.tpl b/tools/combine-test.tpl index 08540b9..01668f4 100644 --- a/tools/combine-test.tpl +++ b/tools/combine-test.tpl @@ -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 )