1
0
Fork 0

Removing toString() call on failAssertion(); string may be passed

closure/master
Mike Gerwitz 2011-12-07 23:11:10 -05:00
parent e0254f6441
commit 45f3d62727
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module.common = module['test/common'] = { exports: {
function failAssertion( err )
{
throw Error( 'Assertion failed: ' + err.toString() );
throw Error( 'Assertion failed: ' + ( err || '(no failure message)' ) );
}