From a18dedbddb756a93db324a4868eecff726627b8a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 6 Dec 2011 18:27:41 -0500 Subject: [PATCH] Added missing client-side "fail" assertion --- tools/combine-test.tpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/combine-test.tpl b/tools/combine-test.tpl index 89c9119..7284edf 100644 --- a/tools/combine-test.tpl +++ b/tools/combine-test.tpl @@ -124,7 +124,13 @@ module.assert = { exports: { }, - throws: function ( test, expected, err ) + fail: function ( err ) + { + failAssertion( err ); + }, + + + 'throws': function ( test, expected, err ) { try {