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 {